@vaadin/avatar 23.2.0-alpha4 → 23.2.0-beta1
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 +9 -9
- package/src/vaadin-avatar.d.ts +7 -4
- package/src/vaadin-avatar.js +11 -7
- package/web-types.json +2 -2
- package/web-types.lit.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/avatar",
|
|
3
|
-
"version": "23.2.0-
|
|
3
|
+
"version": "23.2.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/component-base": "23.2.0-
|
|
41
|
-
"@vaadin/item": "23.2.0-
|
|
42
|
-
"@vaadin/list-box": "23.2.0-
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "23.2.0-
|
|
44
|
-
"@vaadin/vaadin-material-styles": "23.2.0-
|
|
45
|
-
"@vaadin/vaadin-overlay": "23.2.0-
|
|
46
|
-
"@vaadin/vaadin-themable-mixin": "23.2.0-
|
|
40
|
+
"@vaadin/component-base": "23.2.0-beta1",
|
|
41
|
+
"@vaadin/item": "23.2.0-beta1",
|
|
42
|
+
"@vaadin/list-box": "23.2.0-beta1",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "23.2.0-beta1",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "23.2.0-beta1",
|
|
45
|
+
"@vaadin/vaadin-overlay": "23.2.0-beta1",
|
|
46
|
+
"@vaadin/vaadin-themable-mixin": "23.2.0-beta1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "82ff7254f27a1a089367e4dd005f63879e33c188"
|
|
58
58
|
}
|
package/src/vaadin-avatar.d.ts
CHANGED
|
@@ -66,10 +66,13 @@ declare class Avatar extends FocusMixin(ElementMixin(ThemableMixin(HTMLElement))
|
|
|
66
66
|
* _i18n_ object or just the property you want to modify.
|
|
67
67
|
*
|
|
68
68
|
* The object has the following JSON structure and default values:
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
* {
|
|
72
|
+
* // Translation of the anonymous user avatar title.
|
|
73
|
+
* anonymous: 'anonymous'
|
|
74
|
+
* }
|
|
75
|
+
* ```
|
|
73
76
|
*/
|
|
74
77
|
i18n: AvatarI18n;
|
|
75
78
|
}
|
package/src/vaadin-avatar.js
CHANGED
|
@@ -170,13 +170,17 @@ class Avatar extends FocusMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
170
170
|
* _i18n_ object or just the property you want to modify.
|
|
171
171
|
*
|
|
172
172
|
* The object has the following JSON structure and default values:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
173
|
+
*
|
|
174
|
+
* ```
|
|
175
|
+
* {
|
|
176
|
+
* // Translation of the anonymous user avatar title.
|
|
177
|
+
* anonymous: 'anonymous'
|
|
178
|
+
* }
|
|
179
|
+
* ```
|
|
180
|
+
*
|
|
181
|
+
* @type {!AvatarI18n}
|
|
182
|
+
* @default {English/US}
|
|
183
|
+
*/
|
|
180
184
|
i18n: {
|
|
181
185
|
type: Object,
|
|
182
186
|
value: () => {
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/avatar",
|
|
4
|
-
"version": "23.2.0-
|
|
4
|
+
"version": "23.2.0-beta1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"name": "i18n",
|
|
117
|
-
"description": "The object used to localize this component.\nTo change the default localization, replace the entire\n_i18n_ object or just the property you want to modify.\n\nThe object has the following JSON structure and default values:\n
|
|
117
|
+
"description": "The object used to localize this component.\nTo change the default localization, replace the entire\n_i18n_ object or just the property you want to modify.\n\nThe object has the following JSON structure and default values:\n\n```\n{\n // Translation of the anonymous user avatar title.\n anonymous: 'anonymous'\n}\n```",
|
|
118
118
|
"value": {
|
|
119
119
|
"type": [
|
|
120
120
|
"AvatarI18n"
|
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": "23.2.0-
|
|
4
|
+
"version": "23.2.0-beta1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": ".i18n",
|
|
52
|
-
"description": "The object used to localize this component.\nTo change the default localization, replace the entire\n_i18n_ object or just the property you want to modify.\n\nThe object has the following JSON structure and default values:\n
|
|
52
|
+
"description": "The object used to localize this component.\nTo change the default localization, replace the entire\n_i18n_ object or just the property you want to modify.\n\nThe object has the following JSON structure and default values:\n\n```\n{\n // Translation of the anonymous user avatar title.\n anonymous: 'anonymous'\n}\n```",
|
|
53
53
|
"value": {
|
|
54
54
|
"kind": "expression"
|
|
55
55
|
}
|