@vaadin/notification 24.0.0-alpha7 → 24.0.0-alpha9
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": "24.0.0-
|
|
3
|
+
"version": "24.0.0-alpha9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/component-base": "24.0.0-
|
|
42
|
-
"@vaadin/lit-renderer": "24.0.0-
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "24.0.0-
|
|
44
|
-
"@vaadin/vaadin-material-styles": "24.0.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "24.0.0-
|
|
41
|
+
"@vaadin/component-base": "24.0.0-alpha9",
|
|
42
|
+
"@vaadin/lit-renderer": "24.0.0-alpha9",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha9",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "24.0.0-alpha9",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha9",
|
|
46
46
|
"lit": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@esm-bundle/chai": "^4.3.4",
|
|
50
|
-
"@vaadin/button": "24.0.0-
|
|
51
|
-
"@vaadin/polymer-legacy-adapter": "24.0.0-
|
|
50
|
+
"@vaadin/button": "24.0.0-alpha9",
|
|
51
|
+
"@vaadin/polymer-legacy-adapter": "24.0.0-alpha9",
|
|
52
52
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
53
53
|
"sinon": "^13.0.2"
|
|
54
54
|
},
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "cc3f747164041566b300bde4b105d2475649e93f"
|
|
60
60
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
@@ -491,7 +491,7 @@ class Notification extends ThemePropertyMixin(ElementMixin(PolymerElement)) {
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
this._card.slot = this.position;
|
|
494
|
-
if (this._container.firstElementChild && /top
|
|
494
|
+
if (this._container.firstElementChild && /top/u.test(this.position)) {
|
|
495
495
|
this._container.insertBefore(this._card, this._container.firstElementChild);
|
|
496
496
|
} else {
|
|
497
497
|
this._container.appendChild(this._card);
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/notification",
|
|
4
|
-
"version": "24.0.0-
|
|
4
|
+
"version": "24.0.0-alpha9",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -51,44 +51,6 @@
|
|
|
51
51
|
],
|
|
52
52
|
"js": {
|
|
53
53
|
"properties": [
|
|
54
|
-
{
|
|
55
|
-
"name": "rootPath",
|
|
56
|
-
"description": "",
|
|
57
|
-
"value": {
|
|
58
|
-
"type": [
|
|
59
|
-
"string"
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "importPath",
|
|
65
|
-
"description": "",
|
|
66
|
-
"value": {
|
|
67
|
-
"type": [
|
|
68
|
-
"string"
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "root",
|
|
74
|
-
"description": "",
|
|
75
|
-
"value": {
|
|
76
|
-
"type": [
|
|
77
|
-
"StampedTemplate",
|
|
78
|
-
"HTMLElement",
|
|
79
|
-
"ShadowRoot"
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"name": "$",
|
|
85
|
-
"description": "",
|
|
86
|
-
"value": {
|
|
87
|
-
"type": [
|
|
88
|
-
"Object.<string, Element>"
|
|
89
|
-
]
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
54
|
{
|
|
93
55
|
"name": "duration",
|
|
94
56
|
"description": "The duration in milliseconds to show the notification.\nSet to `0` or a negative number to disable the notification auto-closing.",
|
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/notification",
|
|
4
|
-
"version": "24.0.0-
|
|
4
|
+
"version": "24.0.0-alpha9",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -26,34 +26,6 @@
|
|
|
26
26
|
"kind": "expression"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
"name": ".rootPath",
|
|
31
|
-
"description": "",
|
|
32
|
-
"value": {
|
|
33
|
-
"kind": "expression"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": ".importPath",
|
|
38
|
-
"description": "",
|
|
39
|
-
"value": {
|
|
40
|
-
"kind": "expression"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": ".root",
|
|
45
|
-
"description": "",
|
|
46
|
-
"value": {
|
|
47
|
-
"kind": "expression"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": ".$",
|
|
52
|
-
"description": "",
|
|
53
|
-
"value": {
|
|
54
|
-
"kind": "expression"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
29
|
{
|
|
58
30
|
"name": ".duration",
|
|
59
31
|
"description": "The duration in milliseconds to show the notification.\nSet to `0` or a negative number to disable the notification auto-closing.",
|