@vaadin/notification 24.2.0-alpha9 → 24.2.0-beta2
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 +8 -8
- package/src/vaadin-notification.js +7 -3
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/notification",
|
|
3
|
-
"version": "24.2.0-
|
|
3
|
+
"version": "24.2.0-beta2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/component-base": "24.2.0-
|
|
42
|
-
"@vaadin/lit-renderer": "24.2.0-
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "24.2.0-
|
|
44
|
-
"@vaadin/vaadin-material-styles": "24.2.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "24.2.0-
|
|
41
|
+
"@vaadin/component-base": "24.2.0-beta2",
|
|
42
|
+
"@vaadin/lit-renderer": "24.2.0-beta2",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "24.2.0-beta2",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "24.2.0-beta2",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "24.2.0-beta2",
|
|
46
46
|
"lit": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@esm-bundle/chai": "^4.3.4",
|
|
50
|
-
"@vaadin/button": "24.2.0-
|
|
50
|
+
"@vaadin/button": "24.2.0-beta2",
|
|
51
51
|
"@vaadin/testing-helpers": "^0.5.0",
|
|
52
52
|
"sinon": "^13.0.2"
|
|
53
53
|
},
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "4b852f9a12d4dade7f0fb3c73b7212436cebf310"
|
|
59
59
|
}
|
|
@@ -7,6 +7,7 @@ import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
|
7
7
|
import { render } from 'lit';
|
|
8
8
|
import { isTemplateResult } from 'lit/directive-helpers.js';
|
|
9
9
|
import { isIOS } from '@vaadin/component-base/src/browser-utils.js';
|
|
10
|
+
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
10
11
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
11
12
|
import { OverlayClassMixin } from '@vaadin/component-base/src/overlay-class-mixin.js';
|
|
12
13
|
import { processTemplates } from '@vaadin/component-base/src/templates.js';
|
|
@@ -16,6 +17,7 @@ import { ThemePropertyMixin } from '@vaadin/vaadin-themable-mixin/vaadin-theme-p
|
|
|
16
17
|
/**
|
|
17
18
|
* An element used internally by `<vaadin-notification>`. Not intended to be used separately.
|
|
18
19
|
*
|
|
20
|
+
* @customElement
|
|
19
21
|
* @extends HTMLElement
|
|
20
22
|
* @mixes ElementMixin
|
|
21
23
|
* @mixes ThemableMixin
|
|
@@ -166,6 +168,7 @@ class NotificationContainer extends ThemableMixin(ElementMixin(PolymerElement))
|
|
|
166
168
|
/**
|
|
167
169
|
* An element used internally by `<vaadin-notification>`. Not intended to be used separately.
|
|
168
170
|
*
|
|
171
|
+
* @customElement
|
|
169
172
|
* @extends HTMLElement
|
|
170
173
|
* @mixes ThemableMixin
|
|
171
174
|
* @private
|
|
@@ -255,6 +258,7 @@ class NotificationCard extends ThemableMixin(PolymerElement) {
|
|
|
255
258
|
*
|
|
256
259
|
* @fires {CustomEvent} opened-changed - Fired when the `opened` property changes.
|
|
257
260
|
*
|
|
261
|
+
* @customElement
|
|
258
262
|
* @extends HTMLElement
|
|
259
263
|
* @mixes ThemePropertyMixin
|
|
260
264
|
* @mixes ElementMixin
|
|
@@ -565,8 +569,8 @@ class Notification extends OverlayClassMixin(ThemePropertyMixin(ElementMixin(Pol
|
|
|
565
569
|
}
|
|
566
570
|
}
|
|
567
571
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
572
|
+
defineCustomElement(NotificationContainer);
|
|
573
|
+
defineCustomElement(NotificationCard);
|
|
574
|
+
defineCustomElement(Notification);
|
|
571
575
|
|
|
572
576
|
export { Notification };
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED