@progress/kendo-angular-navigation 23.2.1-develop.5 → 23.2.1-develop.7
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.
|
@@ -69,7 +69,8 @@ export declare class ActionSheetComponent implements AfterViewInit, OnDestroy, O
|
|
|
69
69
|
/**
|
|
70
70
|
* Applies CSS classes to the inner ActionSheet element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
71
71
|
*/
|
|
72
|
-
cssClass: any;
|
|
72
|
+
set cssClass(value: any);
|
|
73
|
+
get cssClass(): any;
|
|
73
74
|
/**
|
|
74
75
|
* Applies inline styles to the inner ActionSheet element. Accepts any value supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
|
|
75
76
|
*/
|
|
@@ -154,11 +155,13 @@ export declare class ActionSheetComponent implements AfterViewInit, OnDestroy, O
|
|
|
154
155
|
* @hidden
|
|
155
156
|
*/
|
|
156
157
|
footerTemplate: ActionSheetFooterTemplateDirective;
|
|
158
|
+
private _cssClass;
|
|
157
159
|
private dynamicRTLSubscription;
|
|
158
160
|
private rtl;
|
|
159
161
|
private domSubs;
|
|
160
162
|
private player;
|
|
161
163
|
private animationEnd;
|
|
164
|
+
private isFullscreen;
|
|
162
165
|
constructor(element: ElementRef, ngZone: NgZone, renderer: Renderer2, localizationService: LocalizationService, builder: AnimationBuilder, cdr: ChangeDetectorRef);
|
|
163
166
|
ngAfterViewInit(): void;
|
|
164
167
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -207,8 +210,13 @@ export declare class ActionSheetComponent implements AfterViewInit, OnDestroy, O
|
|
|
207
210
|
* @hidden
|
|
208
211
|
*/
|
|
209
212
|
get shouldRenderSeparator(): boolean;
|
|
213
|
+
/**
|
|
214
|
+
* @hidden
|
|
215
|
+
*/
|
|
216
|
+
get childContainerStyle(): string;
|
|
210
217
|
private initDomEvents;
|
|
211
218
|
private setCssVariables;
|
|
219
|
+
private hasFullscreenClass;
|
|
212
220
|
private onKeyDown;
|
|
213
221
|
private handleInitialFocus;
|
|
214
222
|
private keepFocusWithinComponent;
|
|
@@ -26,7 +26,7 @@ const packageMetadata = {
|
|
|
26
26
|
productCode: 'KENDOUIANGULAR',
|
|
27
27
|
productCodes: ['KENDOUIANGULAR'],
|
|
28
28
|
publishDate: 0,
|
|
29
|
-
version: '23.2.1-develop.
|
|
29
|
+
version: '23.2.1-develop.7',
|
|
30
30
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -729,6 +729,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
729
729
|
}] } });
|
|
730
730
|
|
|
731
731
|
const DEFAULT_ANIMATION_CONFIG = { duration: 300 };
|
|
732
|
+
const FULLSCREEN_CLASS = 'k-actionsheet-fullscreen';
|
|
732
733
|
/**
|
|
733
734
|
* Represents the [Kendo UI ActionSheet component for Angular](https://www.telerik.com/kendo-angular-ui/components/navigation/actionsheet).
|
|
734
735
|
* Use this component to display a set of choices related to a user-initiated task in a modal sheet that slides up from the bottom of the screen.
|
|
@@ -792,7 +793,13 @@ class ActionSheetComponent {
|
|
|
792
793
|
/**
|
|
793
794
|
* Applies CSS classes to the inner ActionSheet element. Accepts any value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
|
|
794
795
|
*/
|
|
795
|
-
cssClass
|
|
796
|
+
set cssClass(value) {
|
|
797
|
+
this._cssClass = value;
|
|
798
|
+
this.isFullscreen = this.hasFullscreenClass(value);
|
|
799
|
+
}
|
|
800
|
+
get cssClass() {
|
|
801
|
+
return this._cssClass;
|
|
802
|
+
}
|
|
796
803
|
/**
|
|
797
804
|
* Applies inline styles to the inner ActionSheet element. Accepts any value supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
|
|
798
805
|
*/
|
|
@@ -877,11 +884,13 @@ class ActionSheetComponent {
|
|
|
877
884
|
* @hidden
|
|
878
885
|
*/
|
|
879
886
|
footerTemplate;
|
|
887
|
+
_cssClass;
|
|
880
888
|
dynamicRTLSubscription;
|
|
881
889
|
rtl = false;
|
|
882
890
|
domSubs = new Subscription();
|
|
883
891
|
player;
|
|
884
892
|
animationEnd = new EventEmitter();
|
|
893
|
+
isFullscreen = false;
|
|
885
894
|
constructor(element, ngZone, renderer, localizationService, builder, cdr) {
|
|
886
895
|
this.element = element;
|
|
887
896
|
this.ngZone = ngZone;
|
|
@@ -1002,6 +1011,13 @@ class ActionSheetComponent {
|
|
|
1002
1011
|
get shouldRenderSeparator() {
|
|
1003
1012
|
return this.topGroupItems?.length > 0 && this.bottomGroupItems?.length > 0;
|
|
1004
1013
|
}
|
|
1014
|
+
/**
|
|
1015
|
+
* @hidden
|
|
1016
|
+
*/
|
|
1017
|
+
get childContainerStyle() {
|
|
1018
|
+
const baseStyle = 'bottom: 0px; width: 100%;';
|
|
1019
|
+
return this.isFullscreen ? `${baseStyle} height: 100%;` : baseStyle;
|
|
1020
|
+
}
|
|
1005
1021
|
initDomEvents() {
|
|
1006
1022
|
if (!this.element) {
|
|
1007
1023
|
return;
|
|
@@ -1020,6 +1036,21 @@ class ActionSheetComponent {
|
|
|
1020
1036
|
this.element.nativeElement.style.setProperty('--kendo-actionsheet-height', 'auto');
|
|
1021
1037
|
this.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
1022
1038
|
}
|
|
1039
|
+
hasFullscreenClass(cssClass) {
|
|
1040
|
+
if (!cssClass) {
|
|
1041
|
+
return false;
|
|
1042
|
+
}
|
|
1043
|
+
if (typeof cssClass === 'string') {
|
|
1044
|
+
return cssClass.split(/\s+/).includes(FULLSCREEN_CLASS);
|
|
1045
|
+
}
|
|
1046
|
+
if (cssClass instanceof Set) {
|
|
1047
|
+
return cssClass.has(FULLSCREEN_CLASS);
|
|
1048
|
+
}
|
|
1049
|
+
if (Array.isArray(cssClass)) {
|
|
1050
|
+
return cssClass.some(cls => typeof cls === 'string' && cls.split(/\s+/).includes(FULLSCREEN_CLASS));
|
|
1051
|
+
}
|
|
1052
|
+
return cssClass[FULLSCREEN_CLASS] === true;
|
|
1053
|
+
}
|
|
1023
1054
|
onKeyDown(event) {
|
|
1024
1055
|
const target = event.target;
|
|
1025
1056
|
if (event.code === Keys.Tab) {
|
|
@@ -1109,7 +1140,7 @@ class ActionSheetComponent {
|
|
|
1109
1140
|
@if (expanded) {
|
|
1110
1141
|
<div class="k-overlay" (click)="onOverlayClick()"></div>
|
|
1111
1142
|
<div class="k-animation-container k-animation-container-shown">
|
|
1112
|
-
<div #childContainer class="k-child-animation-container" [style]="
|
|
1143
|
+
<div #childContainer class="k-child-animation-container" [style]="childContainerStyle">
|
|
1113
1144
|
<div
|
|
1114
1145
|
class="k-actionsheet k-actionsheet-bottom"
|
|
1115
1146
|
[ngClass]="cssClass"
|
|
@@ -1227,7 +1258,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
1227
1258
|
@if (expanded) {
|
|
1228
1259
|
<div class="k-overlay" (click)="onOverlayClick()"></div>
|
|
1229
1260
|
<div class="k-animation-container k-animation-container-shown">
|
|
1230
|
-
<div #childContainer class="k-child-animation-container" [style]="
|
|
1261
|
+
<div #childContainer class="k-child-animation-container" [style]="childContainerStyle">
|
|
1231
1262
|
<div
|
|
1232
1263
|
class="k-actionsheet k-actionsheet-bottom"
|
|
1233
1264
|
[ngClass]="cssClass"
|
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.2.1-develop.
|
|
10
|
+
"publishDate": 1773396790,
|
|
11
|
+
"version": "23.2.1-develop.7",
|
|
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-navigation",
|
|
3
|
-
"version": "23.2.1-develop.
|
|
3
|
+
"version": "23.2.1-develop.7",
|
|
4
4
|
"description": "Kendo UI Navigation 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": 1773396790,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -27,15 +27,15 @@
|
|
|
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-buttons": "23.2.1-develop.
|
|
31
|
-
"@progress/kendo-angular-common": "23.2.1-develop.
|
|
32
|
-
"@progress/kendo-angular-icons": "23.2.1-develop.
|
|
33
|
-
"@progress/kendo-angular-l10n": "23.2.1-develop.
|
|
30
|
+
"@progress/kendo-angular-buttons": "23.2.1-develop.7",
|
|
31
|
+
"@progress/kendo-angular-common": "23.2.1-develop.7",
|
|
32
|
+
"@progress/kendo-angular-icons": "23.2.1-develop.7",
|
|
33
|
+
"@progress/kendo-angular-l10n": "23.2.1-develop.7",
|
|
34
34
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "23.2.1-develop.
|
|
38
|
+
"@progress/kendo-angular-schematics": "23.2.1-develop.7"
|
|
39
39
|
},
|
|
40
40
|
"schematics": "./schematics/collection.json",
|
|
41
41
|
"module": "fesm2022/progress-kendo-angular-navigation.mjs",
|