@progress/kendo-angular-menu 24.2.0-develop.9 → 24.2.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.
@@ -22,8 +22,8 @@ const packageMetadata = {
22
22
  productName: 'Kendo UI for Angular',
23
23
  productCode: 'KENDOUIANGULAR',
24
24
  productCodes: ['KENDOUIANGULAR'],
25
- publishDate: 1782303826,
26
- version: '24.2.0-develop.9',
25
+ publishDate: 1782832604,
26
+ version: '24.2.1-develop.1',
27
27
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
28
28
  };
29
29
 
@@ -1443,18 +1443,22 @@ class ListComponent {
1443
1443
  const touchSubscription = this.renderer.listen(document, 'touchstart', (e) => {
1444
1444
  if (inMenu(e.target, this.itemsService)) {
1445
1445
  const item = this.nodeItem(e.target);
1446
- // Needs to be called because the 'click' handler will be called only on secondary tap and the item will remain unfocused
1447
- this.navigation.focus(item);
1448
- // This is needed since the 'mouseover' event is not always dispatched
1449
- if (!item.opened) {
1450
- this.hover.over(item);
1446
+ if (item) {
1447
+ // Needs to be called because the 'click' handler will be called only on secondary tap and the item will remain unfocused
1448
+ this.navigation.focus(item);
1449
+ // This is needed since the 'mouseover' event is not always dispatched
1450
+ if (!item.opened) {
1451
+ this.hover.over(item);
1452
+ }
1451
1453
  }
1452
1454
  }
1453
1455
  else if (this.navigation.focusedIdx) {
1454
1456
  // If the touch is outside of the menu and the menu is not currently in focus
1455
1457
  const activeItem = this.itemsService.get(this.navigation.activeIndex);
1456
1458
  this.onLeave(); // needs to be called explicitly since mouseleave event is not triggered
1457
- activeItem.blur(); // needs to be called explicitly otherwise the item remains focused => triggers focusout
1459
+ if (activeItem) {
1460
+ activeItem.blur(); // needs to be called explicitly otherwise the item remains focused => triggers focusout
1461
+ }
1458
1462
  }
1459
1463
  });
1460
1464
  const clickSubscription = this.renderer.listen(element, 'click', this.clickHandler.bind(this));
@@ -1851,14 +1855,14 @@ class ItemComponent {
1851
1855
  [ngTemplateOutletContext]="{ item: item, index: index }">
1852
1856
  </ng-template>
1853
1857
  }
1854
-
1858
+
1855
1859
  @if (item.content) {
1856
1860
  <div class="k-content" role="presentation">
1857
1861
  <ng-template [ngTemplateOutlet]="item.content" [ngTemplateOutletContext]="{ item: item.owner, index: item.ownerIndex }">
1858
1862
  </ng-template>
1859
1863
  </div>
1860
1864
  }
1861
-
1865
+
1862
1866
  <ng-template #popupTemplate>
1863
1867
  <ul kendoMenuList
1864
1868
  [appendTo]="appendTo"
@@ -1879,7 +1883,7 @@ class ItemComponent {
1879
1883
  role="menu">
1880
1884
  </ul>
1881
1885
  </ng-template>
1882
-
1886
+
1883
1887
  <ng-template #itemcontent>
1884
1888
  @if (item.icon || item.svgIcon) {
1885
1889
  <kendo-icon-wrapper [name]="item.icon" [svgIcon]="item.svgIcon" role="presentation"></kendo-icon-wrapper>
@@ -1925,14 +1929,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
1925
1929
  [ngTemplateOutletContext]="{ item: item, index: index }">
1926
1930
  </ng-template>
1927
1931
  }
1928
-
1932
+
1929
1933
  @if (item.content) {
1930
1934
  <div class="k-content" role="presentation">
1931
1935
  <ng-template [ngTemplateOutlet]="item.content" [ngTemplateOutletContext]="{ item: item.owner, index: item.ownerIndex }">
1932
1936
  </ng-template>
1933
1937
  </div>
1934
1938
  }
1935
-
1939
+
1936
1940
  <ng-template #popupTemplate>
1937
1941
  <ul kendoMenuList
1938
1942
  [appendTo]="appendTo"
@@ -1953,7 +1957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
1953
1957
  role="menu">
1954
1958
  </ul>
1955
1959
  </ng-template>
1956
-
1960
+
1957
1961
  <ng-template #itemcontent>
1958
1962
  @if (item.icon || item.svgIcon) {
1959
1963
  <kendo-icon-wrapper [name]="item.icon" [svgIcon]="item.svgIcon" role="presentation"></kendo-icon-wrapper>
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1782303826,
11
- "version": "24.2.0-develop.9",
10
+ "publishDate": 1782832604,
11
+ "version": "24.2.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-menu",
3
- "version": "24.2.0-develop.9",
3
+ "version": "24.2.1-develop.1",
4
4
  "description": "Kendo UI Angular Menu component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,7 +19,7 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1782303826,
22
+ "publishDate": 1782832604,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
24
24
  }
25
25
  },
@@ -29,15 +29,15 @@
29
29
  "@angular/core": "19 - 22",
30
30
  "@angular/platform-browser": "19 - 22",
31
31
  "@progress/kendo-licensing": "^1.11.0",
32
- "@progress/kendo-angular-common": "24.2.0-develop.9",
33
- "@progress/kendo-angular-l10n": "24.2.0-develop.9",
34
- "@progress/kendo-angular-icons": "24.2.0-develop.9",
35
- "@progress/kendo-angular-popup": "24.2.0-develop.9",
32
+ "@progress/kendo-angular-common": "24.2.1-develop.1",
33
+ "@progress/kendo-angular-l10n": "24.2.1-develop.1",
34
+ "@progress/kendo-angular-icons": "24.2.1-develop.1",
35
+ "@progress/kendo-angular-popup": "24.2.1-develop.1",
36
36
  "rxjs": "^6.5.3 || ^7.0.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "tslib": "^2.3.1",
40
- "@progress/kendo-angular-schematics": "24.2.0-develop.9"
40
+ "@progress/kendo-angular-schematics": "24.2.1-develop.1"
41
41
  },
42
42
  "schematics": "./schematics/collection.json",
43
43
  "module": "fesm2022/progress-kendo-angular-menu.mjs",