@progress/kendo-angular-buttons 24.1.1-develop.1 → 24.2.0-develop.10

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.
@@ -2,6 +2,9 @@
2
2
  * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Defines the configuration for the Chip avatar.
7
+ */
5
8
  export interface ChipAvatarSettings {
6
9
  /**
7
10
  * Sets the CSS styles for the wrapper element of the avatar.
@@ -49,8 +49,8 @@ const packageMetadata = {
49
49
  productName: 'Kendo UI for Angular',
50
50
  productCode: 'KENDOUIANGULAR',
51
51
  productCodes: ['KENDOUIANGULAR'],
52
- publishDate: 1780592510,
53
- version: '24.1.1-develop.1',
52
+ publishDate: 1782305497,
53
+ version: '24.2.0-develop.10',
54
54
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
55
55
  };
56
56
 
@@ -415,9 +415,9 @@ class ButtonComponent {
415
415
  this.direction = localization.rtl ? 'rtl' : 'ltr';
416
416
  this.subs.add(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
417
417
  this.element = element.nativeElement;
418
+ this.renderer.addClass(this.element, 'k-button');
418
419
  }
419
420
  ngOnInit() {
420
- this.renderer.addClass(this.element, 'k-button');
421
421
  if (!this.element.hasAttribute('role') && this.togglable) {
422
422
  this.toggleAriaPressed(this.toggleable);
423
423
  }
@@ -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
  });
@@ -5509,7 +5509,6 @@ class SpeechToTextButtonComponent {
5509
5509
  return this.isListening;
5510
5510
  }
5511
5511
  speechToTextButtonClass = true;
5512
- classButton = true;
5513
5512
  get classDisabled() {
5514
5513
  return this.isDisabled;
5515
5514
  }
@@ -5597,6 +5596,7 @@ class SpeechToTextButtonComponent {
5597
5596
  this.direction = localization.rtl ? 'rtl' : 'ltr';
5598
5597
  this.subs.add(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
5599
5598
  this.element = element.nativeElement;
5599
+ this.renderer.addClass(this.element, 'k-button');
5600
5600
  }
5601
5601
  /**
5602
5602
  * Indicates whether the button is actively listening for incoming audio.
@@ -5770,7 +5770,7 @@ class SpeechToTextButtonComponent {
5770
5770
  });
5771
5771
  }
5772
5772
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SpeechToTextButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
5773
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: SpeechToTextButtonComponent, isStandalone: true, selector: "button[kendoSpeechToTextButton]", inputs: { disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", integrationMode: "integrationMode", lang: "lang", continuous: "continuous", interimResults: "interimResults", maxAlternatives: "maxAlternatives" }, outputs: { start: "start", end: "end", result: "result", error: "error", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-listening": "this.listeningClass", "class.k-speech-to-text-button": "this.speechToTextButtonClass", "class.k-button": "this.classButton", "class.k-disabled": "this.classDisabled", "attr.dir": "this.getDirection" } }, providers: [
5773
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: SpeechToTextButtonComponent, isStandalone: true, selector: "button[kendoSpeechToTextButton]", inputs: { disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", integrationMode: "integrationMode", lang: "lang", continuous: "continuous", interimResults: "interimResults", maxAlternatives: "maxAlternatives" }, outputs: { start: "start", end: "end", result: "result", error: "error", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-listening": "this.listeningClass", "class.k-speech-to-text-button": "this.speechToTextButtonClass", "class.k-disabled": "this.classDisabled", "attr.dir": "this.getDirection" } }, providers: [
5774
5774
  LocalizationService,
5775
5775
  {
5776
5776
  provide: L10N_PREFIX,
@@ -5847,9 +5847,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
5847
5847
  }], speechToTextButtonClass: [{
5848
5848
  type: HostBinding,
5849
5849
  args: ['class.k-speech-to-text-button']
5850
- }], classButton: [{
5851
- type: HostBinding,
5852
- args: ['class.k-button']
5853
5850
  }], classDisabled: [{
5854
5851
  type: HostBinding,
5855
5852
  args: ['class.k-disabled']
@@ -5875,6 +5872,9 @@ const DEFAULT_AI_REQUEST_OPTIONS = {
5875
5872
  method: 'POST',
5876
5873
  responseType: 'json'
5877
5874
  };
5875
+ /**
5876
+ * Represents the event arguments for the `requestStart` event of the SmartPasteButton.
5877
+ */
5878
5878
  class SmartPasteRequestStartEvent extends PreventableEvent$1 {
5879
5879
  /**
5880
5880
  * Gets the request data to send to the AI service.
@@ -5885,6 +5885,9 @@ class SmartPasteRequestStartEvent extends PreventableEvent$1 {
5885
5885
  this.requestData = requestData;
5886
5886
  }
5887
5887
  }
5888
+ /**
5889
+ * Represents the event arguments for the `requestEnd` event of the SmartPasteButton.
5890
+ */
5888
5891
  class SmartPasteRequestEndEvent extends PreventableEvent$1 {
5889
5892
  /**
5890
5893
  * Gets the HTTP response from the AI service.
@@ -6190,7 +6193,6 @@ class SmartPasteButtonComponent {
6190
6193
  get iconButtonClass() {
6191
6194
  return !this.hasText;
6192
6195
  }
6193
- classButton = true;
6194
6196
  get classDisabled() {
6195
6197
  return this.isDisabled;
6196
6198
  }
@@ -6256,6 +6258,7 @@ class SmartPasteButtonComponent {
6256
6258
  this.direction = localization.rtl ? 'rtl' : 'ltr';
6257
6259
  this.subs.add(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
6258
6260
  this.element = elementRef.nativeElement;
6261
+ this.renderer.addClass(this.element, 'k-button');
6259
6262
  }
6260
6263
  ngOnInit() {
6261
6264
  this.nativeForm = this.element.form;
@@ -6463,7 +6466,7 @@ class SmartPasteButtonComponent {
6463
6466
  });
6464
6467
  }
6465
6468
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: SmartPasteButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }, { token: i2.HttpClient }, { token: i3$1.ControlContainer, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
6466
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: SmartPasteButtonComponent, isStandalone: true, selector: "button[kendoSmartPasteButton]", inputs: { formFields: "formFields", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", requestUrl: "requestUrl", requestOptions: "requestOptions", smartPasteFormFields: "smartPasteFormFields" }, outputs: { requestStart: "requestStart", requestEnd: "requestEnd", requestCancel: "requestCancel" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-button": "this.classButton", "class.k-disabled": "this.classDisabled", "attr.dir": "this.getDirection" } }, providers: [
6469
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: SmartPasteButtonComponent, isStandalone: true, selector: "button[kendoSmartPasteButton]", inputs: { formFields: "formFields", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", requestUrl: "requestUrl", requestOptions: "requestOptions", smartPasteFormFields: "smartPasteFormFields" }, outputs: { requestStart: "requestStart", requestEnd: "requestEnd", requestCancel: "requestCancel" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-disabled": "this.classDisabled", "attr.dir": "this.getDirection" } }, providers: [
6467
6470
  LocalizationService,
6468
6471
  {
6469
6472
  provide: L10N_PREFIX,
@@ -6558,9 +6561,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
6558
6561
  }], iconButtonClass: [{
6559
6562
  type: HostBinding,
6560
6563
  args: ['class.k-icon-button']
6561
- }], classButton: [{
6562
- type: HostBinding,
6563
- args: ['class.k-button']
6564
6564
  }], classDisabled: [{
6565
6565
  type: HostBinding,
6566
6566
  args: ['class.k-disabled']
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1780592510,
11
- "version": "24.1.1-develop.1",
10
+ "publishDate": 1782305497,
11
+ "version": "24.2.0-develop.10",
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.1.1-develop.1",
3
+ "version": "24.2.0-develop.10",
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": 1780592510,
59
+ "publishDate": 1782305497,
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.1.1-develop.1",
70
- "@progress/kendo-angular-l10n": "24.1.1-develop.1",
71
- "@progress/kendo-angular-popup": "24.1.1-develop.1",
72
- "@progress/kendo-angular-icons": "24.1.1-develop.1",
69
+ "@progress/kendo-angular-common": "24.2.0-develop.10",
70
+ "@progress/kendo-angular-l10n": "24.2.0-develop.10",
71
+ "@progress/kendo-angular-popup": "24.2.0-develop.10",
72
+ "@progress/kendo-angular-icons": "24.2.0-develop.10",
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.1.1-develop.1",
77
+ "@progress/kendo-angular-schematics": "24.2.0-develop.10",
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"
@@ -91,6 +91,9 @@ export interface SmartPasteAIRequestOptions {
91
91
  * @hidden
92
92
  */
93
93
  export declare const DEFAULT_AI_REQUEST_OPTIONS: SmartPasteAIRequestOptions;
94
+ /**
95
+ * Represents the event arguments for the `requestStart` event of the SmartPasteButton.
96
+ */
94
97
  export declare class SmartPasteRequestStartEvent extends PreventableEvent {
95
98
  /**
96
99
  * Gets the request data to send to the AI service.
@@ -98,6 +101,9 @@ export declare class SmartPasteRequestStartEvent extends PreventableEvent {
98
101
  requestData: SmartPasteAIRequestData;
99
102
  constructor(requestData: SmartPasteAIRequestData);
100
103
  }
104
+ /**
105
+ * Represents the event arguments for the `requestEnd` event of the SmartPasteButton.
106
+ */
101
107
  export declare class SmartPasteRequestEndEvent extends PreventableEvent {
102
108
  /**
103
109
  * Gets the HTTP response from the AI service.
@@ -122,7 +122,6 @@ export declare class SmartPasteButtonComponent implements OnInit, OnDestroy {
122
122
  */
123
123
  requestCancel: EventEmitter<void>;
124
124
  get iconButtonClass(): boolean;
125
- classButton: boolean;
126
125
  get classDisabled(): boolean;
127
126
  get getDirection(): string;
128
127
  onFocus(): void;
@@ -104,7 +104,6 @@ export declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
104
104
  get iconButtonClass(): boolean;
105
105
  get listeningClass(): boolean;
106
106
  speechToTextButtonClass: boolean;
107
- classButton: boolean;
108
107
  get classDisabled(): boolean;
109
108
  get getDirection(): string;
110
109
  /**