@vaadin/notification 23.0.0-alpha1 → 23.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/notification",
|
|
3
|
-
"version": "23.0.0-
|
|
3
|
+
"version": "23.0.0-alpha2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@polymer/polymer": "^3.0.0",
|
|
36
|
-
"@vaadin/component-base": "23.0.0-
|
|
37
|
-
"@vaadin/vaadin-lumo-styles": "23.0.0-
|
|
38
|
-
"@vaadin/vaadin-material-styles": "23.0.0-
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "23.0.0-
|
|
36
|
+
"@vaadin/component-base": "23.0.0-alpha2",
|
|
37
|
+
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha2",
|
|
38
|
+
"@vaadin/vaadin-material-styles": "23.0.0-alpha2",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha2",
|
|
40
40
|
"lit": "^2.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@esm-bundle/chai": "^4.3.4",
|
|
44
|
-
"@vaadin/button": "23.0.0-
|
|
45
|
-
"@vaadin/polymer-legacy-adapter": "23.0.0-
|
|
44
|
+
"@vaadin/button": "23.0.0-alpha2",
|
|
45
|
+
"@vaadin/polymer-legacy-adapter": "23.0.0-alpha2",
|
|
46
46
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
47
47
|
"sinon": "^9.2.1"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
|
|
50
50
|
}
|
|
@@ -321,7 +321,9 @@ class Notification extends ThemePropertyMixin(ElementMixin(PolymerElement)) {
|
|
|
321
321
|
* It is not guaranteed that the update happens immediately (synchronously) after it is requested.
|
|
322
322
|
*/
|
|
323
323
|
requestContentUpdate() {
|
|
324
|
-
if (!this.renderer)
|
|
324
|
+
if (!this.renderer) {
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
325
327
|
|
|
326
328
|
this.renderer(this._card, this);
|
|
327
329
|
}
|
|
@@ -490,11 +492,10 @@ class Notification extends ThemePropertyMixin(ElementMixin(PolymerElement)) {
|
|
|
490
492
|
return Notification._createAndShowNotification((root) => {
|
|
491
493
|
render(contents, root);
|
|
492
494
|
}, options);
|
|
493
|
-
} else {
|
|
494
|
-
return Notification._createAndShowNotification((root) => {
|
|
495
|
-
root.innerText = contents;
|
|
496
|
-
}, options);
|
|
497
495
|
}
|
|
496
|
+
return Notification._createAndShowNotification((root) => {
|
|
497
|
+
root.innerText = contents;
|
|
498
|
+
}, options);
|
|
498
499
|
}
|
|
499
500
|
|
|
500
501
|
/** @private */
|