@vaadin/avatar 25.3.2 → 25.4.0-alpha2
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 -8
- package/package.json +10 -10
- package/src/vaadin-avatar-mixin.d.ts +4 -2
- package/src/vaadin-avatar-mixin.js +4 -2
- package/web-types.json +4 -3
- package/web-types.lit.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"name": "i18n",
|
|
52
52
|
"privacy": "public",
|
|
53
53
|
"type": {
|
|
54
|
-
"text": "Object"
|
|
54
|
+
"text": "Object | undefined"
|
|
55
55
|
},
|
|
56
|
-
"description": "The object used to localize this component. To change the default\nlocalization,
|
|
56
|
+
"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```",
|
|
57
57
|
"attribute": "i18n",
|
|
58
58
|
"inheritedFrom": {
|
|
59
59
|
"name": "I18nMixin",
|
|
@@ -111,9 +111,9 @@
|
|
|
111
111
|
{
|
|
112
112
|
"name": "i18n",
|
|
113
113
|
"type": {
|
|
114
|
-
"text": "Object"
|
|
114
|
+
"text": "Object | undefined"
|
|
115
115
|
},
|
|
116
|
-
"description": "The object used to localize this component. To change the default\nlocalization,
|
|
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
117
|
"fieldName": "i18n",
|
|
118
118
|
"inheritedFrom": {
|
|
119
119
|
"name": "I18nMixin",
|
|
@@ -215,9 +215,9 @@
|
|
|
215
215
|
"name": "i18n",
|
|
216
216
|
"privacy": "public",
|
|
217
217
|
"type": {
|
|
218
|
-
"text": "Object"
|
|
218
|
+
"text": "Object | undefined"
|
|
219
219
|
},
|
|
220
|
-
"description": "The object used to localize this component. To change the default\nlocalization,
|
|
220
|
+
"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```",
|
|
221
221
|
"attribute": "i18n",
|
|
222
222
|
"inheritedFrom": {
|
|
223
223
|
"name": "I18nMixin",
|
|
@@ -295,9 +295,9 @@
|
|
|
295
295
|
{
|
|
296
296
|
"name": "i18n",
|
|
297
297
|
"type": {
|
|
298
|
-
"text": "Object"
|
|
298
|
+
"text": "Object | undefined"
|
|
299
299
|
},
|
|
300
|
-
"description": "The object used to localize this component. To change the default\nlocalization,
|
|
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
301
|
"fieldName": "i18n",
|
|
302
302
|
"inheritedFrom": {
|
|
303
303
|
"name": "I18nMixin",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/avatar",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.4.0-alpha2",
|
|
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": "
|
|
40
|
-
"@vaadin/component-base": "
|
|
41
|
-
"@vaadin/tooltip": "
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
39
|
+
"@vaadin/a11y-base": "25.4.0-alpha2",
|
|
40
|
+
"@vaadin/component-base": "25.4.0-alpha2",
|
|
41
|
+
"@vaadin/tooltip": "25.4.0-alpha2",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "25.4.0-alpha2",
|
|
43
43
|
"lit": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/aura": "
|
|
47
|
-
"@vaadin/chai-plugins": "
|
|
48
|
-
"@vaadin/test-runner-commands": "
|
|
46
|
+
"@vaadin/aura": "25.4.0-alpha2",
|
|
47
|
+
"@vaadin/chai-plugins": "25.4.0-alpha2",
|
|
48
|
+
"@vaadin/test-runner-commands": "25.4.0-alpha2",
|
|
49
49
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
50
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
50
|
+
"@vaadin/vaadin-lumo-styles": "25.4.0-alpha2",
|
|
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": "213f8b55112558d2f976d8730fe44370ca868333"
|
|
59
59
|
}
|
|
@@ -44,9 +44,11 @@ export declare class AvatarMixinClass {
|
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* The object used to localize this component. To change the default
|
|
47
|
-
* localization,
|
|
47
|
+
* localization, set this to an object that provides all properties, or
|
|
48
48
|
* just the individual properties you want to change.
|
|
49
49
|
*
|
|
50
|
+
* When not set, defaults to `undefined`.
|
|
51
|
+
*
|
|
50
52
|
* The object has the following JSON structure and default values:
|
|
51
53
|
* ```js
|
|
52
54
|
* {
|
|
@@ -55,7 +57,7 @@ export declare class AvatarMixinClass {
|
|
|
55
57
|
* }
|
|
56
58
|
* ```
|
|
57
59
|
*/
|
|
58
|
-
i18n: AvatarI18n;
|
|
60
|
+
i18n: AvatarI18n | undefined;
|
|
59
61
|
|
|
60
62
|
/**
|
|
61
63
|
* When true, the avatar has tooltip shown on hover and focus.
|
|
@@ -93,9 +93,11 @@ export const AvatarMixin = (superClass) =>
|
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* The object used to localize this component. To change the default
|
|
96
|
-
* localization,
|
|
96
|
+
* localization, set this to an object that provides all properties, or
|
|
97
97
|
* just the individual properties you want to change.
|
|
98
98
|
*
|
|
99
|
+
* When not set, defaults to `undefined`.
|
|
100
|
+
*
|
|
99
101
|
* The object has the following JSON structure and default values:
|
|
100
102
|
* ```js
|
|
101
103
|
* {
|
|
@@ -103,7 +105,7 @@ export const AvatarMixin = (superClass) =>
|
|
|
103
105
|
* anonymous: 'anonymous'
|
|
104
106
|
* }
|
|
105
107
|
* ```
|
|
106
|
-
* @type {
|
|
108
|
+
* @type {AvatarI18n | undefined}
|
|
107
109
|
*/
|
|
108
110
|
get i18n() {
|
|
109
111
|
return super.i18n;
|
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
|
+
"version": "25.4.0-alpha2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -87,10 +87,11 @@
|
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "i18n",
|
|
90
|
-
"description": "The object used to localize this component. To change the default\nlocalization,
|
|
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
|
-
"Object"
|
|
93
|
+
"Object",
|
|
94
|
+
"undefined"
|
|
94
95
|
]
|
|
95
96
|
}
|
|
96
97
|
},
|
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.
|
|
4
|
+
"version": "25.4.0-alpha2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": ".i18n",
|
|
38
|
-
"description": "The object used to localize this component. To change the default\nlocalization,
|
|
38
|
+
"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```",
|
|
39
39
|
"value": {
|
|
40
40
|
"kind": "expression"
|
|
41
41
|
}
|