@progress/kendo-angular-notification 23.3.0-develop.9 → 23.3.1-develop.1
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.
|
@@ -94,6 +94,15 @@ class NotificationSettings {
|
|
|
94
94
|
* This property is related to accessibility.
|
|
95
95
|
*/
|
|
96
96
|
notificationLabel = 'Notification';
|
|
97
|
+
/**
|
|
98
|
+
* The value of the Notification element `role` attribute.
|
|
99
|
+
*
|
|
100
|
+
* @default 'status'
|
|
101
|
+
*
|
|
102
|
+
* @remarks
|
|
103
|
+
* This property is related to accessibility.
|
|
104
|
+
*/
|
|
105
|
+
notificationRole = 'status';
|
|
97
106
|
/**
|
|
98
107
|
* Specifies a list of CSS classes that you add to the Notification.
|
|
99
108
|
* To apply CSS rules to the component, set `encapsulation` to `ViewEncapsulation.None`
|
|
@@ -120,8 +129,8 @@ const packageMetadata = {
|
|
|
120
129
|
productName: 'Kendo UI for Angular',
|
|
121
130
|
productCode: 'KENDOUIANGULAR',
|
|
122
131
|
productCodes: ['KENDOUIANGULAR'],
|
|
123
|
-
publishDate:
|
|
124
|
-
version: '23.3.
|
|
132
|
+
publishDate: 1775550176,
|
|
133
|
+
version: '23.3.1-develop.1',
|
|
125
134
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
126
135
|
};
|
|
127
136
|
|
|
@@ -222,6 +231,7 @@ class NotificationComponent {
|
|
|
222
231
|
width = null;
|
|
223
232
|
height = null;
|
|
224
233
|
notificationLabel = 'Notification';
|
|
234
|
+
notificationRole = 'status';
|
|
225
235
|
cssClass;
|
|
226
236
|
hideAfter;
|
|
227
237
|
closable;
|
|
@@ -360,7 +370,7 @@ class NotificationComponent {
|
|
|
360
370
|
return onclose ? fadeCloseAnimation(duration) : fadeAnimation(duration);
|
|
361
371
|
}
|
|
362
372
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NotificationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.AnimationBuilder }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
363
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: NotificationComponent, isStandalone: true, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
373
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: NotificationComponent, isStandalone: true, selector: "kendo-notification", inputs: { templateRef: "templateRef", templateString: "templateString", width: "width", height: "height", notificationLabel: "notificationLabel", notificationRole: "notificationRole", cssClass: "cssClass", hideAfter: "hideAfter", closable: "closable", type: "type", animation: "animation" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
364
374
|
LocalizationService,
|
|
365
375
|
{
|
|
366
376
|
provide: L10N_PREFIX,
|
|
@@ -376,7 +386,7 @@ class NotificationComponent {
|
|
|
376
386
|
[ngClass]="cssClass"
|
|
377
387
|
[style.height.px]="height"
|
|
378
388
|
[style.width.px]="width"
|
|
379
|
-
role="
|
|
389
|
+
[attr.role]="notificationRole"
|
|
380
390
|
aria-live="polite"
|
|
381
391
|
[attr.aria-describedby]="contentId"
|
|
382
392
|
[attr.aria-label]="notificationLabel">
|
|
@@ -399,7 +409,7 @@ class NotificationComponent {
|
|
|
399
409
|
}
|
|
400
410
|
<ng-container #container></ng-container>
|
|
401
411
|
</div>
|
|
402
|
-
|
|
412
|
+
|
|
403
413
|
@if (closable) {
|
|
404
414
|
<span class="k-notification-actions" aria-hidden="true">
|
|
405
415
|
<span class="k-notification-action k-notification-close-action" [attr.title]="closeButtonTitle" (click)="onCloseClick()">
|
|
@@ -424,7 +434,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
424
434
|
[ngClass]="cssClass"
|
|
425
435
|
[style.height.px]="height"
|
|
426
436
|
[style.width.px]="width"
|
|
427
|
-
role="
|
|
437
|
+
[attr.role]="notificationRole"
|
|
428
438
|
aria-live="polite"
|
|
429
439
|
[attr.aria-describedby]="contentId"
|
|
430
440
|
[attr.aria-label]="notificationLabel">
|
|
@@ -447,7 +457,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
447
457
|
}
|
|
448
458
|
<ng-container #container></ng-container>
|
|
449
459
|
</div>
|
|
450
|
-
|
|
460
|
+
|
|
451
461
|
@if (closable) {
|
|
452
462
|
<span class="k-notification-actions" aria-hidden="true">
|
|
453
463
|
<span class="k-notification-action k-notification-close-action" [attr.title]="closeButtonTitle" (click)="onCloseClick()">
|
|
@@ -480,6 +490,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
480
490
|
type: Input
|
|
481
491
|
}], notificationLabel: [{
|
|
482
492
|
type: Input
|
|
493
|
+
}], notificationRole: [{
|
|
494
|
+
type: Input
|
|
483
495
|
}], cssClass: [{
|
|
484
496
|
type: Input
|
|
485
497
|
}], hideAfter: [{
|
|
@@ -598,6 +610,9 @@ class NotificationContainerComponent {
|
|
|
598
610
|
if (settings.notificationLabel) {
|
|
599
611
|
notification.notificationLabel = settings.notificationLabel;
|
|
600
612
|
}
|
|
613
|
+
if (settings.notificationRole) {
|
|
614
|
+
notification.notificationRole = settings.notificationRole;
|
|
615
|
+
}
|
|
601
616
|
notification.closable = settings.closable;
|
|
602
617
|
notification.hideAfter = settings.hideAfter;
|
|
603
618
|
notification.width = settings.width;
|
|
@@ -85,6 +85,15 @@ export declare class NotificationSettings {
|
|
|
85
85
|
* This property is related to accessibility.
|
|
86
86
|
*/
|
|
87
87
|
notificationLabel?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The value of the Notification element `role` attribute.
|
|
90
|
+
*
|
|
91
|
+
* @default 'status'
|
|
92
|
+
*
|
|
93
|
+
* @remarks
|
|
94
|
+
* This property is related to accessibility.
|
|
95
|
+
*/
|
|
96
|
+
notificationRole?: string;
|
|
88
97
|
/**
|
|
89
98
|
* Specifies a list of CSS classes that you add to the Notification.
|
|
90
99
|
* To apply CSS rules to the component, set `encapsulation` to `ViewEncapsulation.None`
|
|
@@ -33,6 +33,7 @@ export declare class NotificationComponent implements OnInit, OnDestroy {
|
|
|
33
33
|
width?: number;
|
|
34
34
|
height?: number;
|
|
35
35
|
notificationLabel: string;
|
|
36
|
+
notificationRole: string;
|
|
36
37
|
cssClass?: string | Array<string> | object;
|
|
37
38
|
hideAfter?: number;
|
|
38
39
|
closable?: boolean;
|
|
@@ -66,5 +67,5 @@ export declare class NotificationComponent implements OnInit, OnDestroy {
|
|
|
66
67
|
private slideAnimation;
|
|
67
68
|
private fadeAnimation;
|
|
68
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "kendo-notification", never, { "templateRef": { "alias": "templateRef"; "required": false; }; "templateString": { "alias": "templateString"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "notificationLabel": { "alias": "notificationLabel"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "hideAfter": { "alias": "hideAfter"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "type": { "alias": "type"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; }, {}, never, never, true, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "kendo-notification", never, { "templateRef": { "alias": "templateRef"; "required": false; }; "templateString": { "alias": "templateString"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "notificationLabel": { "alias": "notificationLabel"; "required": false; }; "notificationRole": { "alias": "notificationRole"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "hideAfter": { "alias": "hideAfter"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "type": { "alias": "type"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; }, {}, never, never, true, never>;
|
|
70
71
|
}
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "23.3.
|
|
10
|
+
"publishDate": 1775550176,
|
|
11
|
+
"version": "23.3.1-develop.1",
|
|
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": "23.3.
|
|
3
|
+
"version": "23.3.1-develop.1",
|
|
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": 1775550176,
|
|
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.10.0",
|
|
30
|
-
"@progress/kendo-angular-common": "23.3.
|
|
31
|
-
"@progress/kendo-angular-l10n": "23.3.
|
|
32
|
-
"@progress/kendo-angular-icons": "23.3.
|
|
30
|
+
"@progress/kendo-angular-common": "23.3.1-develop.1",
|
|
31
|
+
"@progress/kendo-angular-l10n": "23.3.1-develop.1",
|
|
32
|
+
"@progress/kendo-angular-icons": "23.3.1-develop.1",
|
|
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": "23.3.
|
|
37
|
+
"@progress/kendo-angular-schematics": "23.3.1-develop.1"
|
|
38
38
|
},
|
|
39
39
|
"schematics": "./schematics/collection.json",
|
|
40
40
|
"module": "fesm2022/progress-kendo-angular-notification.mjs",
|