@vaadin/avatar 25.4.0-alpha3 → 25.4.0-alpha4
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 +8 -38
- package/package.json +10 -10
- package/web-types.json +2 -2
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -49,16 +49,11 @@
|
|
|
49
49
|
{
|
|
50
50
|
"kind": "field",
|
|
51
51
|
"name": "i18n",
|
|
52
|
-
"
|
|
52
|
+
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Translation of the anonymous user avatar tooltip.\n anonymous: 'anonymous'\n}\n```",
|
|
53
53
|
"type": {
|
|
54
|
-
"text": "
|
|
54
|
+
"text": "AvatarI18n | undefined"
|
|
55
55
|
},
|
|
56
|
-
"
|
|
57
|
-
"attribute": "i18n",
|
|
58
|
-
"inheritedFrom": {
|
|
59
|
-
"name": "I18nMixin",
|
|
60
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
61
|
-
}
|
|
56
|
+
"privacy": "public"
|
|
62
57
|
},
|
|
63
58
|
{
|
|
64
59
|
"kind": "field",
|
|
@@ -108,18 +103,6 @@
|
|
|
108
103
|
"description": "Color index used for avatar background.",
|
|
109
104
|
"fieldName": "colorIndex"
|
|
110
105
|
},
|
|
111
|
-
{
|
|
112
|
-
"name": "i18n",
|
|
113
|
-
"type": {
|
|
114
|
-
"text": "Object | undefined"
|
|
115
|
-
},
|
|
116
|
-
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
|
|
117
|
-
"fieldName": "i18n",
|
|
118
|
-
"inheritedFrom": {
|
|
119
|
-
"name": "I18nMixin",
|
|
120
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
106
|
{
|
|
124
107
|
"name": "img",
|
|
125
108
|
"type": {
|
|
@@ -213,15 +196,14 @@
|
|
|
213
196
|
{
|
|
214
197
|
"kind": "field",
|
|
215
198
|
"name": "i18n",
|
|
216
|
-
"
|
|
199
|
+
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Translation of the anonymous user avatar tooltip.\n anonymous: 'anonymous'\n}\n```",
|
|
217
200
|
"type": {
|
|
218
|
-
"text": "
|
|
201
|
+
"text": "AvatarI18n | undefined"
|
|
219
202
|
},
|
|
220
|
-
"
|
|
221
|
-
"attribute": "i18n",
|
|
203
|
+
"privacy": "public",
|
|
222
204
|
"inheritedFrom": {
|
|
223
|
-
"name": "
|
|
224
|
-
"
|
|
205
|
+
"name": "AvatarMixin",
|
|
206
|
+
"module": "src/vaadin-avatar-mixin.js"
|
|
225
207
|
}
|
|
226
208
|
},
|
|
227
209
|
{
|
|
@@ -292,18 +274,6 @@
|
|
|
292
274
|
"module": "src/vaadin-avatar-mixin.js"
|
|
293
275
|
}
|
|
294
276
|
},
|
|
295
|
-
{
|
|
296
|
-
"name": "i18n",
|
|
297
|
-
"type": {
|
|
298
|
-
"text": "Object | undefined"
|
|
299
|
-
},
|
|
300
|
-
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
|
|
301
|
-
"fieldName": "i18n",
|
|
302
|
-
"inheritedFrom": {
|
|
303
|
-
"name": "I18nMixin",
|
|
304
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
277
|
{
|
|
308
278
|
"name": "img",
|
|
309
279
|
"type": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/avatar",
|
|
3
|
-
"version": "25.4.0-
|
|
3
|
+
"version": "25.4.0-alpha4",
|
|
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.4.0-
|
|
40
|
-
"@vaadin/component-base": "25.4.0-
|
|
41
|
-
"@vaadin/tooltip": "25.4.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "25.4.0-
|
|
39
|
+
"@vaadin/a11y-base": "25.4.0-alpha4",
|
|
40
|
+
"@vaadin/component-base": "25.4.0-alpha4",
|
|
41
|
+
"@vaadin/tooltip": "25.4.0-alpha4",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "25.4.0-alpha4",
|
|
43
43
|
"lit": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/aura": "25.4.0-
|
|
47
|
-
"@vaadin/chai-plugins": "25.4.0-
|
|
48
|
-
"@vaadin/test-runner-commands": "25.4.0-
|
|
46
|
+
"@vaadin/aura": "25.4.0-alpha4",
|
|
47
|
+
"@vaadin/chai-plugins": "25.4.0-alpha4",
|
|
48
|
+
"@vaadin/test-runner-commands": "25.4.0-alpha4",
|
|
49
49
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
50
|
-
"@vaadin/vaadin-lumo-styles": "25.4.0-
|
|
50
|
+
"@vaadin/vaadin-lumo-styles": "25.4.0-alpha4",
|
|
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": "7809e4c099538333a6dbd11d8da18a0c6ec30dad"
|
|
59
59
|
}
|
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": "25.4.0-
|
|
4
|
+
"version": "25.4.0-alpha4",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Translation of the anonymous user avatar tooltip.\n anonymous: 'anonymous'\n}\n```",
|
|
91
91
|
"value": {
|
|
92
92
|
"type": [
|
|
93
|
-
"
|
|
93
|
+
"AvatarI18n",
|
|
94
94
|
"undefined"
|
|
95
95
|
]
|
|
96
96
|
}
|