@vaadin/avatar 25.1.0-beta1 → 25.1.0-beta3

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.
@@ -49,20 +49,12 @@
49
49
  {
50
50
  "kind": "field",
51
51
  "name": "i18n",
52
- "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\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
- "return": {
54
- "type": {
55
- "text": "!AvatarI18n"
56
- }
52
+ "privacy": "public",
53
+ "type": {
54
+ "text": "Object"
57
55
  },
58
- "parameters": [
59
- {
60
- "name": "value",
61
- "type": {
62
- "text": "Object"
63
- }
64
- }
65
- ],
56
+ "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\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
+ "attribute": "i18n",
66
58
  "inheritedFrom": {
67
59
  "name": "I18nMixin",
68
60
  "package": "@vaadin/component-base/src/i18n-mixin.js"
@@ -118,6 +110,11 @@
118
110
  },
119
111
  {
120
112
  "name": "i18n",
113
+ "type": {
114
+ "text": "Object"
115
+ },
116
+ "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
117
+ "fieldName": "i18n",
121
118
  "inheritedFrom": {
122
119
  "name": "I18nMixin",
123
120
  "package": "@vaadin/component-base/src/i18n-mixin.js"
@@ -152,6 +149,10 @@
152
149
  {
153
150
  "name": "I18nMixin",
154
151
  "package": "@vaadin/component-base/src/i18n-mixin.js"
152
+ },
153
+ {
154
+ "name": "FocusMixin",
155
+ "package": "@vaadin/a11y-base/src/focus-mixin.js"
155
156
  }
156
157
  ],
157
158
  "parameters": [
@@ -212,20 +213,12 @@
212
213
  {
213
214
  "kind": "field",
214
215
  "name": "i18n",
215
- "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\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```",
216
- "return": {
217
- "type": {
218
- "text": "!AvatarI18n"
219
- }
216
+ "privacy": "public",
217
+ "type": {
218
+ "text": "Object"
220
219
  },
221
- "parameters": [
222
- {
223
- "name": "value",
224
- "type": {
225
- "text": "Object"
226
- }
227
- }
228
- ],
220
+ "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\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
+ "attribute": "i18n",
229
222
  "inheritedFrom": {
230
223
  "name": "I18nMixin",
231
224
  "package": "@vaadin/component-base/src/i18n-mixin.js"
@@ -329,6 +322,11 @@
329
322
  },
330
323
  {
331
324
  "name": "i18n",
325
+ "type": {
326
+ "text": "Object"
327
+ },
328
+ "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
329
+ "fieldName": "i18n",
332
330
  "inheritedFrom": {
333
331
  "name": "I18nMixin",
334
332
  "package": "@vaadin/component-base/src/i18n-mixin.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/avatar",
3
- "version": "25.1.0-beta1",
3
+ "version": "25.1.0-beta3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,24 +36,24 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
- "@vaadin/a11y-base": "25.1.0-beta1",
40
- "@vaadin/component-base": "25.1.0-beta1",
41
- "@vaadin/tooltip": "25.1.0-beta1",
42
- "@vaadin/vaadin-themable-mixin": "25.1.0-beta1",
39
+ "@vaadin/a11y-base": "25.1.0-beta3",
40
+ "@vaadin/component-base": "25.1.0-beta3",
41
+ "@vaadin/tooltip": "25.1.0-beta3",
42
+ "@vaadin/vaadin-themable-mixin": "25.1.0-beta3",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/aura": "25.1.0-beta1",
47
- "@vaadin/chai-plugins": "25.1.0-beta1",
48
- "@vaadin/test-runner-commands": "25.1.0-beta1",
46
+ "@vaadin/aura": "25.1.0-beta3",
47
+ "@vaadin/chai-plugins": "25.1.0-beta3",
48
+ "@vaadin/test-runner-commands": "25.1.0-beta3",
49
49
  "@vaadin/testing-helpers": "^2.0.0",
50
- "@vaadin/vaadin-lumo-styles": "25.1.0-beta1",
51
- "sinon": "^21.0.0"
50
+ "@vaadin/vaadin-lumo-styles": "25.1.0-beta3",
51
+ "sinon": "^21.0.2"
52
52
  },
53
53
  "customElements": "custom-elements.json",
54
54
  "web-types": [
55
55
  "web-types.json",
56
56
  "web-types.lit.json"
57
57
  ],
58
- "gitHead": "0ccf77c385fc6a92ac2a6344ce8804b94956226d"
58
+ "gitHead": "4251850231a42298fda23b83928da588831cdb5d"
59
59
  }
@@ -102,7 +102,7 @@ export const AvatarMixin = (superClass) =>
102
102
  * anonymous: 'anonymous'
103
103
  * }
104
104
  * ```
105
- * @return {!AvatarI18n}
105
+ * @type {!AvatarI18n}
106
106
  */
107
107
  get i18n() {
108
108
  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.1.0-beta1",
4
+ "version": "25.1.0-beta3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -106,7 +106,7 @@
106
106
  "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\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```",
107
107
  "value": {
108
108
  "type": [
109
- "AvatarI18n"
109
+ "?"
110
110
  ]
111
111
  }
112
112
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/avatar",
4
- "version": "25.1.0-beta1",
4
+ "version": "25.1.0-beta3",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {