@progress/kendo-angular-menu 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.
@@ -9,7 +9,7 @@ import * as i3 from '@progress/kendo-angular-l10n';
9
9
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
10
10
  import { validatePackage } from '@progress/kendo-licensing';
11
11
  import { PreventableEvent as PreventableEvent$1, hasObservers, Keys, normalizeKeys, isDocumentAvailable, isPresent, parseCSSClassNames, ResizeBatchService } from '@progress/kendo-angular-common';
12
- import { caretAltLeftIcon, caretAltRightIcon, caretAltDownIcon } from '@progress/kendo-svg-icons';
12
+ import { chevronDownIcon, chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
13
13
  import * as i5 from '@progress/kendo-angular-popup';
14
14
  import { PopupService, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
15
15
  import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
@@ -22,8 +22,8 @@ const packageMetadata = {
22
22
  productName: 'Kendo UI for Angular',
23
23
  productCode: 'KENDOUIANGULAR',
24
24
  productCodes: ['KENDOUIANGULAR'],
25
- publishDate: 1778149410,
26
- version: '24.0.0-develop.20',
25
+ publishDate: 1778160970,
26
+ version: '24.0.0-develop.21',
27
27
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
28
28
  };
29
29
 
@@ -1160,23 +1160,19 @@ const getSizeClass = (size) => {
1160
1160
  * @hidden
1161
1161
  */
1162
1162
  const getFontIcon = (horizontal, rtl) => {
1163
- const icon = horizontal ?
1164
- rtl ?
1165
- 'caret-alt-left' :
1166
- 'caret-alt-right' :
1167
- 'caret-alt-down';
1168
- return icon;
1163
+ if (!horizontal) {
1164
+ return 'chevron-down';
1165
+ }
1166
+ return rtl ? 'chevron-left' : 'chevron-right';
1169
1167
  };
1170
1168
  /**
1171
1169
  * @hidden
1172
1170
  */
1173
1171
  const getSVGIcon = (horizontal, rtl) => {
1174
- const icon = horizontal ?
1175
- rtl ?
1176
- caretAltLeftIcon :
1177
- caretAltRightIcon :
1178
- caretAltDownIcon;
1179
- return icon;
1172
+ if (!horizontal) {
1173
+ return chevronDownIcon;
1174
+ }
1175
+ return rtl ? chevronLeftIcon : chevronRightIcon;
1180
1176
  };
1181
1177
  /**
1182
1178
  * @hidden
@@ -3306,7 +3302,7 @@ class ContextMenuComponent extends MenuBase {
3306
3302
  else {
3307
3303
  offset = { left: e.pageX, top: e.pageY };
3308
3304
  }
3309
- this.createPopup({ anchor, offset });
3305
+ this.createPopup(offset ? { anchor, offset } : { anchor });
3310
3306
  });
3311
3307
  }
3312
3308
  createPopup(options) {
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1778149410,
11
- "version": "24.0.0-develop.20",
10
+ "publishDate": 1778160970,
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-menu",
3
- "version": "24.0.0-develop.20",
3
+ "version": "24.0.0-develop.21",
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": 1778149410,
22
+ "publishDate": 1778160970,
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 - 21",
30
30
  "@angular/platform-browser": "19 - 21",
31
31
  "@progress/kendo-licensing": "^1.11.0",
32
- "@progress/kendo-angular-common": "24.0.0-develop.20",
33
- "@progress/kendo-angular-l10n": "24.0.0-develop.20",
34
- "@progress/kendo-angular-icons": "24.0.0-develop.20",
35
- "@progress/kendo-angular-popup": "24.0.0-develop.20",
32
+ "@progress/kendo-angular-common": "24.0.0-develop.21",
33
+ "@progress/kendo-angular-l10n": "24.0.0-develop.21",
34
+ "@progress/kendo-angular-icons": "24.0.0-develop.21",
35
+ "@progress/kendo-angular-popup": "24.0.0-develop.21",
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.0.0-develop.20"
40
+ "@progress/kendo-angular-schematics": "24.0.0-develop.21"
41
41
  },
42
42
  "schematics": "./schematics/collection.json",
43
43
  "module": "fesm2022/progress-kendo-angular-menu.mjs",