@progress/kendo-angular-notification 24.0.0-develop.20 → 24.0.0-develop.21
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.
|
@@ -129,8 +129,8 @@ const packageMetadata = {
|
|
|
129
129
|
productName: 'Kendo UI for Angular',
|
|
130
130
|
productCode: 'KENDOUIANGULAR',
|
|
131
131
|
productCodes: ['KENDOUIANGULAR'],
|
|
132
|
-
publishDate:
|
|
133
|
-
version: '24.0.0-develop.
|
|
132
|
+
publishDate: 1778161161,
|
|
133
|
+
version: '24.0.0-develop.21',
|
|
134
134
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
135
135
|
};
|
|
136
136
|
|
|
@@ -290,28 +290,43 @@ class NotificationComponent {
|
|
|
290
290
|
typeClass() {
|
|
291
291
|
return {
|
|
292
292
|
'none': '',
|
|
293
|
+
'base': 'k-notification-base',
|
|
294
|
+
'primary': 'k-notification-primary',
|
|
295
|
+
'secondary': 'k-notification-secondary',
|
|
296
|
+
'tertiary': 'k-notification-tertiary',
|
|
293
297
|
'success': 'k-notification-success',
|
|
294
298
|
'warning': 'k-notification-warning',
|
|
295
299
|
'error': 'k-notification-error',
|
|
296
|
-
'info': 'k-notification-info'
|
|
300
|
+
'info': 'k-notification-info',
|
|
301
|
+
'inverse': 'k-notification-inverse'
|
|
297
302
|
}[this.type.style];
|
|
298
303
|
}
|
|
299
304
|
typeIconClass() {
|
|
300
305
|
return {
|
|
301
306
|
'none': '',
|
|
307
|
+
'base': '',
|
|
308
|
+
'primary': '',
|
|
309
|
+
'secondary': '',
|
|
310
|
+
'tertiary': '',
|
|
302
311
|
'success': 'check-outline',
|
|
303
312
|
'warning': 'exclamation-circle',
|
|
304
313
|
'error': 'x-outline',
|
|
305
|
-
'info': 'info-circle'
|
|
314
|
+
'info': 'info-circle',
|
|
315
|
+
'inverse': ''
|
|
306
316
|
}[this.type.style];
|
|
307
317
|
}
|
|
308
318
|
typeSVGIcon() {
|
|
309
319
|
return {
|
|
310
320
|
'none': null,
|
|
321
|
+
'base': null,
|
|
322
|
+
'primary': null,
|
|
323
|
+
'secondary': null,
|
|
324
|
+
'tertiary': null,
|
|
311
325
|
'success': checkOutlineIcon,
|
|
312
326
|
'warning': exclamationCircleIcon,
|
|
313
327
|
'error': xOutlineIcon,
|
|
314
|
-
'info': infoCircleIcon
|
|
328
|
+
'info': infoCircleIcon,
|
|
329
|
+
'inverse': null
|
|
315
330
|
}[this.type.style];
|
|
316
331
|
}
|
|
317
332
|
onCloseClick() {
|
package/models/type.d.ts
CHANGED
|
@@ -5,12 +5,26 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* Specifies the Notification type
|
|
7
7
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/notification/types)).
|
|
8
|
-
*
|
|
9
|
-
* The possible values are:
|
|
10
|
-
* * `style: (Default) 'none'|'success'|'error'|'warning'|'info'`
|
|
11
|
-
* * `icon?: (Default) 'true'|'false'`
|
|
12
8
|
*/
|
|
13
9
|
export type Type = {
|
|
14
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the styling of the Notification.
|
|
12
|
+
*
|
|
13
|
+
* The possible values are:
|
|
14
|
+
* * `none` (Default)—Applies no predefined styling.
|
|
15
|
+
* * `base`—Applies base styling.
|
|
16
|
+
* * `primary`—Applies primary styling.
|
|
17
|
+
* * `secondary`—Applies secondary styling.
|
|
18
|
+
* * `tertiary`—Applies tertiary styling.
|
|
19
|
+
* * `info`—Applies info styling.
|
|
20
|
+
* * `success`—Applies success styling.
|
|
21
|
+
* * `warning`—Applies warning styling.
|
|
22
|
+
* * `error`—Applies error styling.
|
|
23
|
+
* * `inverse`—Applies inverse styling.
|
|
24
|
+
*/
|
|
25
|
+
style?: 'none' | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'inverse';
|
|
26
|
+
/**
|
|
27
|
+
* Specifies whether to render an icon next to the Notification content. Defaults to `false`.
|
|
28
|
+
*/
|
|
15
29
|
icon?: boolean;
|
|
16
30
|
};
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1778161161,
|
|
11
|
+
"version": "24.0.0-develop.21",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-notification",
|
|
3
|
-
"version": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.21",
|
|
4
4
|
"description": "Kendo UI Notification for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"package": {
|
|
18
18
|
"productName": "Kendo UI for Angular",
|
|
19
19
|
"productCode": "KENDOUIANGULAR",
|
|
20
|
-
"publishDate":
|
|
20
|
+
"publishDate": 1778161161,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"@angular/core": "19 - 21",
|
|
28
28
|
"@angular/platform-browser": "19 - 21",
|
|
29
29
|
"@progress/kendo-licensing": "^1.11.0",
|
|
30
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
32
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
30
|
+
"@progress/kendo-angular-common": "24.0.0-develop.21",
|
|
31
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.21",
|
|
32
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.21",
|
|
33
33
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"tslib": "^2.3.1",
|
|
37
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
37
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.21"
|
|
38
38
|
},
|
|
39
39
|
"schematics": "./schematics/collection.json",
|
|
40
40
|
"module": "fesm2022/progress-kendo-angular-notification.mjs",
|