@vaadin/avatar 23.0.9 → 23.0.10
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/avatar",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@polymer/polymer": "^3.0.0",
|
|
38
|
-
"@vaadin/component-base": "^23.0.
|
|
39
|
-
"@vaadin/item": "^23.0.
|
|
40
|
-
"@vaadin/list-box": "^23.0.
|
|
41
|
-
"@vaadin/vaadin-lumo-styles": "^23.0.
|
|
42
|
-
"@vaadin/vaadin-material-styles": "^23.0.
|
|
43
|
-
"@vaadin/vaadin-overlay": "^23.0.
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "^23.0.
|
|
38
|
+
"@vaadin/component-base": "^23.0.10",
|
|
39
|
+
"@vaadin/item": "^23.0.10",
|
|
40
|
+
"@vaadin/list-box": "^23.0.10",
|
|
41
|
+
"@vaadin/vaadin-lumo-styles": "^23.0.10",
|
|
42
|
+
"@vaadin/vaadin-material-styles": "^23.0.10",
|
|
43
|
+
"@vaadin/vaadin-overlay": "^23.0.10",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "^23.0.10"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
48
48
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
49
49
|
"sinon": "^9.2.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "e8402a55ce0e823ae6da5c97486998cfd931b1d3"
|
|
52
52
|
}
|
package/src/vaadin-avatar.js
CHANGED
|
@@ -136,7 +136,7 @@ class Avatar extends FocusMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
136
136
|
img: {
|
|
137
137
|
type: String,
|
|
138
138
|
reflectToAttribute: true,
|
|
139
|
-
observer: '__imgChanged'
|
|
139
|
+
observer: '__imgChanged',
|
|
140
140
|
},
|
|
141
141
|
|
|
142
142
|
/**
|
|
@@ -145,7 +145,7 @@ class Avatar extends FocusMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
145
145
|
*/
|
|
146
146
|
abbr: {
|
|
147
147
|
type: String,
|
|
148
|
-
reflectToAttribute: true
|
|
148
|
+
reflectToAttribute: true,
|
|
149
149
|
},
|
|
150
150
|
|
|
151
151
|
/**
|
|
@@ -154,7 +154,7 @@ class Avatar extends FocusMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
154
154
|
*/
|
|
155
155
|
name: {
|
|
156
156
|
type: String,
|
|
157
|
-
reflectToAttribute: true
|
|
157
|
+
reflectToAttribute: true,
|
|
158
158
|
},
|
|
159
159
|
|
|
160
160
|
/**
|
|
@@ -162,7 +162,7 @@ class Avatar extends FocusMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
162
162
|
*/
|
|
163
163
|
colorIndex: {
|
|
164
164
|
type: Number,
|
|
165
|
-
observer: '__colorIndexChanged'
|
|
165
|
+
observer: '__colorIndexChanged',
|
|
166
166
|
},
|
|
167
167
|
|
|
168
168
|
/**
|
|
@@ -182,9 +182,9 @@ class Avatar extends FocusMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
182
182
|
type: Object,
|
|
183
183
|
value: () => {
|
|
184
184
|
return {
|
|
185
|
-
anonymous: 'anonymous'
|
|
185
|
+
anonymous: 'anonymous',
|
|
186
186
|
};
|
|
187
|
-
}
|
|
187
|
+
},
|
|
188
188
|
},
|
|
189
189
|
|
|
190
190
|
/** @private */
|
|
@@ -194,7 +194,7 @@ class Avatar extends FocusMixin(ElementMixin(ThemableMixin(PolymerElement))) {
|
|
|
194
194
|
__iconVisible: Boolean,
|
|
195
195
|
|
|
196
196
|
/** @private */
|
|
197
|
-
__abbrVisible: Boolean
|
|
197
|
+
__abbrVisible: Boolean,
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
200
|
|