@progress/kendo-angular-navigation 13.2.2-develop.1 → 13.2.2-develop.3

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.
@@ -7,7 +7,7 @@ import { validatePackage } from '@progress/kendo-licensing';
7
7
  import { packageMetadata } from '../package-metadata';
8
8
  import { Subscription } from 'rxjs';
9
9
  import { ActionSheetHeaderTemplateDirective, ActionSheetItemTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetTemplateDirective } from './models';
10
- import { isPresent, Keys } from '@progress/kendo-angular-common';
10
+ import { isDocumentAvailable, isPresent, Keys } from '@progress/kendo-angular-common';
11
11
  import { getId, getActionSheetItemIndex, getFirstAndLastFocusable, ACTIONSHEET_ITEM_INDEX_ATTRIBUTE } from '../common/util';
12
12
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
13
13
  import { AnimationBuilder } from '@angular/animations';
@@ -173,10 +173,12 @@ export class ActionSheetComponent {
173
173
  });
174
174
  }
175
175
  setCssVariables() {
176
- if (!this.element) {
176
+ if (!this.element || !isDocumentAvailable()) {
177
177
  return;
178
178
  }
179
- this.renderer.setAttribute(this.element.nativeElement, 'style', '--kendo-actionsheet-height: auto; --kendo-actionsheet-max-height: none');
179
+ // The following syntax is used as it does not violate CSP compliance
180
+ this.element.nativeElement.style.setProperty('--kendo-actionsheet-height', 'auto');
181
+ this.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
180
182
  }
181
183
  onKeyDown(event) {
182
184
  const target = event.target;
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-navigation',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1691064764,
13
- version: '13.2.2-develop.1',
12
+ publishDate: 1691502873,
13
+ version: '13.2.2-develop.3',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -26,8 +26,8 @@ const packageMetadata = {
26
26
  name: '@progress/kendo-angular-navigation',
27
27
  productName: 'Kendo UI for Angular',
28
28
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
29
- publishDate: 1691064764,
30
- version: '13.2.2-develop.1',
29
+ publishDate: 1691502873,
30
+ version: '13.2.2-develop.3',
31
31
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
32
32
  };
33
33
 
@@ -2123,10 +2123,12 @@ class ActionSheetComponent {
2123
2123
  });
2124
2124
  }
2125
2125
  setCssVariables() {
2126
- if (!this.element) {
2126
+ if (!this.element || !isDocumentAvailable()) {
2127
2127
  return;
2128
2128
  }
2129
- this.renderer.setAttribute(this.element.nativeElement, 'style', '--kendo-actionsheet-height: auto; --kendo-actionsheet-max-height: none');
2129
+ // The following syntax is used as it does not violate CSP compliance
2130
+ this.element.nativeElement.style.setProperty('--kendo-actionsheet-height', 'auto');
2131
+ this.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
2130
2132
  }
2131
2133
  onKeyDown(event) {
2132
2134
  const target = event.target;
@@ -26,8 +26,8 @@ const packageMetadata = {
26
26
  name: '@progress/kendo-angular-navigation',
27
27
  productName: 'Kendo UI for Angular',
28
28
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
29
- publishDate: 1691064764,
30
- version: '13.2.2-develop.1',
29
+ publishDate: 1691502873,
30
+ version: '13.2.2-develop.3',
31
31
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
32
32
  };
33
33
 
@@ -2106,10 +2106,12 @@ class ActionSheetComponent {
2106
2106
  });
2107
2107
  }
2108
2108
  setCssVariables() {
2109
- if (!this.element) {
2109
+ if (!this.element || !isDocumentAvailable()) {
2110
2110
  return;
2111
2111
  }
2112
- this.renderer.setAttribute(this.element.nativeElement, 'style', '--kendo-actionsheet-height: auto; --kendo-actionsheet-max-height: none');
2112
+ // The following syntax is used as it does not violate CSP compliance
2113
+ this.element.nativeElement.style.setProperty('--kendo-actionsheet-height', 'auto');
2114
+ this.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
2113
2115
  }
2114
2116
  onKeyDown(event) {
2115
2117
  const target = event.target;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-navigation",
3
- "version": "13.2.2-develop.1",
3
+ "version": "13.2.2-develop.3",
4
4
  "description": "Kendo UI Navigation for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -21,14 +21,14 @@
21
21
  "@angular/core": "13 - 16",
22
22
  "@angular/platform-browser": "13 - 16",
23
23
  "@progress/kendo-licensing": "^1.0.2",
24
- "@progress/kendo-angular-common": "13.2.2-develop.1",
25
- "@progress/kendo-angular-icons": "13.2.2-develop.1",
26
- "@progress/kendo-angular-l10n": "13.2.2-develop.1",
24
+ "@progress/kendo-angular-common": "13.2.2-develop.3",
25
+ "@progress/kendo-angular-icons": "13.2.2-develop.3",
26
+ "@progress/kendo-angular-l10n": "13.2.2-develop.3",
27
27
  "rxjs": "^6.5.3 || ^7.0.0"
28
28
  },
29
29
  "dependencies": {
30
30
  "tslib": "^2.3.1",
31
- "@progress/kendo-angular-schematics": "13.2.2-develop.1"
31
+ "@progress/kendo-angular-schematics": "13.2.2-develop.3"
32
32
  },
33
33
  "schematics": "./schematics/collection.json",
34
34
  "module": "fesm2015/progress-kendo-angular-navigation.mjs",