@vaadin/notification 23.0.9 → 23.0.12
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.
|
|
3
|
+
"version": "23.0.12",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "^23.0.
|
|
38
|
-
"@vaadin/vaadin-lumo-styles": "^23.0.
|
|
39
|
-
"@vaadin/vaadin-material-styles": "^23.0.
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "^23.0.
|
|
37
|
+
"@vaadin/component-base": "^23.0.12",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "^23.0.12",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "^23.0.12",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "^23.0.12",
|
|
41
41
|
"lit": "^2.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@esm-bundle/chai": "^4.3.4",
|
|
45
|
-
"@vaadin/button": "^23.0.
|
|
46
|
-
"@vaadin/polymer-legacy-adapter": "^23.0.
|
|
45
|
+
"@vaadin/button": "^23.0.12",
|
|
46
|
+
"@vaadin/polymer-legacy-adapter": "^23.0.12",
|
|
47
47
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
48
48
|
"sinon": "^9.2.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "717908c222c1e241259e30b4144cd5ba32734819"
|
|
51
51
|
}
|
|
@@ -148,13 +148,13 @@ declare class Notification extends ThemePropertyMixin(ElementMixin(HTMLElement))
|
|
|
148
148
|
addEventListener<K extends keyof NotificationEventMap>(
|
|
149
149
|
type: K,
|
|
150
150
|
listener: (this: Notification, ev: NotificationEventMap[K]) => void,
|
|
151
|
-
options?: boolean | AddEventListenerOptions
|
|
151
|
+
options?: boolean | AddEventListenerOptions,
|
|
152
152
|
): void;
|
|
153
153
|
|
|
154
154
|
removeEventListener<K extends keyof NotificationEventMap>(
|
|
155
155
|
type: K,
|
|
156
156
|
listener: (this: Notification, ev: NotificationEventMap[K]) => void,
|
|
157
|
-
options?: boolean | EventListenerOptions
|
|
157
|
+
options?: boolean | EventListenerOptions,
|
|
158
158
|
): void;
|
|
159
159
|
|
|
160
160
|
/**
|
|
@@ -105,8 +105,8 @@ class NotificationContainer extends ThemableMixin(ElementMixin(PolymerElement))
|
|
|
105
105
|
opened: {
|
|
106
106
|
type: Boolean,
|
|
107
107
|
value: false,
|
|
108
|
-
observer: '_openedChanged'
|
|
109
|
-
}
|
|
108
|
+
observer: '_openedChanged',
|
|
109
|
+
},
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -277,7 +277,7 @@ class Notification extends ThemePropertyMixin(ElementMixin(PolymerElement)) {
|
|
|
277
277
|
*/
|
|
278
278
|
duration: {
|
|
279
279
|
type: Number,
|
|
280
|
-
value: 5000
|
|
280
|
+
value: 5000,
|
|
281
281
|
},
|
|
282
282
|
|
|
283
283
|
/**
|
|
@@ -288,7 +288,7 @@ class Notification extends ThemePropertyMixin(ElementMixin(PolymerElement)) {
|
|
|
288
288
|
type: Boolean,
|
|
289
289
|
value: false,
|
|
290
290
|
notify: true,
|
|
291
|
-
observer: '_openedChanged'
|
|
291
|
+
observer: '_openedChanged',
|
|
292
292
|
},
|
|
293
293
|
|
|
294
294
|
/**
|
|
@@ -299,7 +299,7 @@ class Notification extends ThemePropertyMixin(ElementMixin(PolymerElement)) {
|
|
|
299
299
|
position: {
|
|
300
300
|
type: String,
|
|
301
301
|
value: 'bottom-start',
|
|
302
|
-
observer: '_positionChanged'
|
|
302
|
+
observer: '_positionChanged',
|
|
303
303
|
},
|
|
304
304
|
|
|
305
305
|
/**
|
|
@@ -311,7 +311,7 @@ class Notification extends ThemePropertyMixin(ElementMixin(PolymerElement)) {
|
|
|
311
311
|
* - `notification` The reference to the `<vaadin-notification>` element.
|
|
312
312
|
* @type {!NotificationRenderer | undefined}
|
|
313
313
|
*/
|
|
314
|
-
renderer: Function
|
|
314
|
+
renderer: Function,
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
317
|
|
|
@@ -22,7 +22,7 @@ registerStyles(
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
`,
|
|
25
|
-
{ moduleId: 'material-notification-container' }
|
|
25
|
+
{ moduleId: 'material-notification-container' },
|
|
26
26
|
);
|
|
27
27
|
|
|
28
28
|
const notificationCard = css`
|
|
@@ -152,5 +152,5 @@ const notificationCard = css`
|
|
|
152
152
|
`;
|
|
153
153
|
|
|
154
154
|
registerStyles('vaadin-notification-card', [colorDark, notificationCard], {
|
|
155
|
-
moduleId: 'material-notification-card'
|
|
155
|
+
moduleId: 'material-notification-card',
|
|
156
156
|
});
|