@progress/kendo-angular-buttons 24.2.0-develop.8 → 24.2.0

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.
@@ -49,8 +49,8 @@ const packageMetadata = {
49
49
  productName: 'Kendo UI for Angular',
50
50
  productCode: 'KENDOUIANGULAR',
51
51
  productCodes: ['KENDOUIANGULAR'],
52
- publishDate: 1782283636,
53
- version: '24.2.0-develop.8',
52
+ publishDate: 1782828749,
53
+ version: '24.2.0',
54
54
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
55
55
  };
56
56
 
@@ -1678,11 +1678,11 @@ class ChipListComponent {
1678
1678
  });
1679
1679
  this.renderer.setAttribute(chip.element.nativeElement, 'tabindex', '0');
1680
1680
  }
1681
- if (isRemoveClicked && clickedChip) {
1681
+ if (isRemoveClicked && clickedChip && chip) {
1682
1682
  const removeEventArgs = { sender: this, originalEvent: $event, removedChip: chip };
1683
1683
  this.remove.emit(removeEventArgs);
1684
1684
  }
1685
- if (this.selection !== 'none' && clickedChip && !isRemoveClicked) {
1685
+ if (this.selection !== 'none' && clickedChip && chip && !isRemoveClicked) {
1686
1686
  this.setSelection(chip);
1687
1687
  }
1688
1688
  }
@@ -1786,7 +1786,7 @@ class ChipListComponent {
1786
1786
  const clickedChip = closest(target, '.k-chip');
1787
1787
  const chip = this.chips.find((chip) => clickedChip === chip.element.nativeElement);
1788
1788
  this.currentActiveIndex = this.chips.toArray().findIndex((chip) => clickedChip === chip.element.nativeElement);
1789
- if (this.selection !== 'none' && clickedChip) {
1789
+ if (this.selection !== 'none' && clickedChip && chip) {
1790
1790
  this.ngZone.run(() => {
1791
1791
  this.setSelection(chip);
1792
1792
  });
@@ -2567,6 +2567,10 @@ class ListButton extends MultiTabStop {
2567
2567
  * @hidden
2568
2568
  */
2569
2569
  onItemClick(index) {
2570
+ if (this._data?.[index]?.disabled) {
2571
+ this.focusService.focus(index);
2572
+ return;
2573
+ }
2570
2574
  this.emitItemClickHandler(index);
2571
2575
  this.togglePopupVisibility();
2572
2576
  if (isDocumentAvailable() && !this.isClosePrevented) {
@@ -2708,6 +2712,9 @@ class ListButton extends MultiTabStop {
2708
2712
  if (this.openState) {
2709
2713
  const focused = this.focusService.focused;
2710
2714
  if (isPresent(focused) && focused !== -1) {
2715
+ if (this._data?.[focused]?.disabled) {
2716
+ return;
2717
+ }
2711
2718
  this.emitItemClickHandler(focused);
2712
2719
  }
2713
2720
  }
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1782283636,
11
- "version": "24.2.0-develop.8",
10
+ "publishDate": 1782828749,
11
+ "version": "24.2.0",
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-buttons",
3
- "version": "24.2.0-develop.8",
3
+ "version": "24.2.0",
4
4
  "description": "Buttons Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -56,7 +56,7 @@
56
56
  "package": {
57
57
  "productName": "Kendo UI for Angular",
58
58
  "productCode": "KENDOUIANGULAR",
59
- "publishDate": 1782283636,
59
+ "publishDate": 1782828749,
60
60
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
61
61
  }
62
62
  },
@@ -66,15 +66,15 @@
66
66
  "@angular/core": "19 - 22",
67
67
  "@angular/platform-browser": "19 - 22",
68
68
  "@progress/kendo-licensing": "^1.11.0",
69
- "@progress/kendo-angular-common": "24.2.0-develop.8",
70
- "@progress/kendo-angular-l10n": "24.2.0-develop.8",
71
- "@progress/kendo-angular-popup": "24.2.0-develop.8",
72
- "@progress/kendo-angular-icons": "24.2.0-develop.8",
69
+ "@progress/kendo-angular-common": "24.2.0",
70
+ "@progress/kendo-angular-l10n": "24.2.0",
71
+ "@progress/kendo-angular-popup": "24.2.0",
72
+ "@progress/kendo-angular-icons": "24.2.0",
73
73
  "rxjs": "^6.5.3 || ^7.0.0"
74
74
  },
75
75
  "dependencies": {
76
76
  "tslib": "^2.3.1",
77
- "@progress/kendo-angular-schematics": "24.2.0-develop.8",
77
+ "@progress/kendo-angular-schematics": "24.2.0",
78
78
  "@progress/kendo-common": "^1.0.1",
79
79
  "@progress/kendo-webspeech-common": "1.0.1",
80
80
  "@progress/kendo-smartpaste-common": "1.0.0"