@progress/kendo-angular-buttons 25.0.0-develop.2 → 25.0.0-develop.4

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.
package/index.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { OnInit, OnDestroy, OnChanges, Renderer2, EventEmitter, ElementRef, NgZone, SimpleChanges, AfterContentChecked, AfterViewChecked, AfterContentInit, QueryList, TemplateRef, ViewContainerRef, ChangeDetectorRef, AfterViewInit, DoCheck } from '@angular/core';
6
+ import { OnInit, OnDestroy, Renderer2, EventEmitter, ElementRef, NgZone, AfterContentChecked, AfterViewChecked, AfterContentInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef, ChangeDetectorRef, AfterViewInit, OnChanges, DoCheck, Injector } from '@angular/core';
7
7
  import { Subject, Observable, Subscription } from 'rxjs';
8
8
  import { SVGIcon as SVGIcon$1 } from '@progress/kendo-svg-icons';
9
9
  import { LocalizationService, ComponentMessages } from '@progress/kendo-angular-l10n';
@@ -140,7 +140,7 @@ type ButtonIconPosition = 'start' | 'end';
140
140
  * <button kendoButton [icon]="'save'" [themeColor]="'primary'">Save</button>
141
141
  * ```
142
142
  */
143
- declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
143
+ declare class ButtonComponent implements OnInit, OnDestroy {
144
144
  renderer: Renderer2;
145
145
  private service;
146
146
  private ngZone;
@@ -155,7 +155,8 @@ declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
155
155
  *
156
156
  * @default false
157
157
  */
158
- toggleable: boolean;
158
+ set toggleable(value: boolean);
159
+ get toggleable(): boolean;
159
160
  /**
160
161
  * Backwards-compatible alias
161
162
  *
@@ -247,19 +248,22 @@ declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
247
248
  */
248
249
  click: EventEmitter<any>;
249
250
  element: HTMLElement;
250
- isDisabled: boolean;
251
251
  chevronDownIcon: SVGIcon$1;
252
+ get isDisabled(): boolean;
253
+ set isDisabled(value: boolean);
252
254
  private _size;
253
255
  private _rounded;
254
256
  private _fillMode;
255
257
  private _themeColor;
256
258
  private _focused;
257
- private direction;
258
- private _selected;
259
259
  private subs;
260
260
  private _iconClass;
261
261
  private _icon;
262
262
  private _svgIcon;
263
+ private _disabled;
264
+ private _selected;
265
+ private _toggleable;
266
+ private _direction;
263
267
  set isFocused(isFocused: boolean);
264
268
  get isFocused(): boolean;
265
269
  get iconButtonClass(): boolean;
@@ -283,7 +287,6 @@ declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
283
287
  get nativeElement(): any;
284
288
  constructor(element: ElementRef, renderer: Renderer2, service: KendoButtonService, localization: LocalizationService, ngZone: NgZone);
285
289
  ngOnInit(): void;
286
- ngOnChanges(change: SimpleChanges): void;
287
290
  ngOnDestroy(): void;
288
291
  /**
289
292
  * @hidden
@@ -406,9 +409,9 @@ declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterContentChe
406
409
  navigate: EventEmitter<PreventableEvent>;
407
410
  buttons: QueryList<ButtonComponent>;
408
411
  private _tabIndex;
409
- private currentTabIndex;
412
+ private _currentTabIndex;
410
413
  private lastFocusedIndex;
411
- private direction;
414
+ private _direction;
412
415
  private subs;
413
416
  wrapperClasses: boolean;
414
417
  get disabledClass(): boolean;
@@ -791,7 +794,7 @@ declare class ListButton extends MultiTabStop implements OnDestroy {
791
794
  protected focusService: FocusService;
792
795
  protected navigationService: NavigationService;
793
796
  protected wrapperRef: ElementRef;
794
- private _zone;
797
+ private zone;
795
798
  private popupService;
796
799
  private elRef;
797
800
  protected cdr: ChangeDetectorRef;
@@ -799,16 +802,16 @@ declare class ListButton extends MultiTabStop implements OnDestroy {
799
802
  protected listId: string;
800
803
  protected buttonId: string;
801
804
  protected _data: any;
802
- protected _open: boolean;
805
+ protected _open: i0.WritableSignal<boolean>;
803
806
  protected _disabled: boolean;
804
- protected _active: boolean;
807
+ protected _active: i0.WritableSignal<boolean>;
805
808
  protected _popupSettings: PopupSettings;
806
809
  protected _isFocused: boolean;
807
810
  protected _itemClick: EventEmitter<any>;
808
811
  protected _blur: EventEmitter<any>;
809
812
  protected wrapper: HTMLElement;
810
813
  protected subs: Subscription;
811
- protected direction: Direction;
814
+ protected direction: i0.WritableSignal<Direction>;
812
815
  protected popupRef: PopupRef;
813
816
  private popupSubs;
814
817
  button: ElementRef<HTMLButtonElement>;
@@ -868,7 +871,7 @@ declare class ListButton extends MultiTabStop implements OnDestroy {
868
871
  */
869
872
  get popupAlign(): Align;
870
873
  protected isClosePrevented: boolean;
871
- constructor(focusService: FocusService, navigationService: NavigationService, wrapperRef: ElementRef, _zone: NgZone, popupService: PopupService, elRef: ElementRef, localization: LocalizationService, cdr: ChangeDetectorRef, containerService: PopupContainerService);
874
+ constructor(focusService: FocusService, navigationService: NavigationService, wrapperRef: ElementRef, zone: NgZone, popupService: PopupService, elRef: ElementRef, localization: LocalizationService, cdr: ChangeDetectorRef, containerService: PopupContainerService);
872
875
  ngOnChanges(changes: SimpleChanges): void;
873
876
  get popupClasses(): string;
874
877
  get openState(): boolean;
@@ -994,11 +997,13 @@ declare class DropDownButtonComponent extends ListButton implements AfterViewIni
994
997
  /**
995
998
  * Specifies the padding of the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#size). The default value is set by the Kendo theme.
996
999
  */
997
- size: DropDownButtonSize;
1000
+ set size(size: DropDownButtonSize);
1001
+ get size(): DropDownButtonSize;
998
1002
  /**
999
1003
  * Specifies the border radius of the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#roundness). The default value is set by the Kendo theme.
1000
1004
  */
1001
- rounded: ButtonRounded;
1005
+ set rounded(rounded: ButtonRounded);
1006
+ get rounded(): ButtonRounded;
1002
1007
  /**
1003
1008
  * Specifies the background and border styles of the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#fill-mode). The default value is set by the Kendo theme.
1004
1009
  */
@@ -1007,7 +1012,8 @@ declare class DropDownButtonComponent extends ListButton implements AfterViewIni
1007
1012
  /**
1008
1013
  * Specifies predefined theme colors for the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#theme-colors).
1009
1014
  */
1010
- themeColor: ButtonThemeColor;
1015
+ set themeColor(themeColor: ButtonThemeColor);
1016
+ get themeColor(): ButtonThemeColor;
1011
1017
  /**
1012
1018
  * Sets attributes for the main button.
1013
1019
  */
@@ -1038,7 +1044,10 @@ declare class DropDownButtonComponent extends ListButton implements AfterViewIni
1038
1044
  */
1039
1045
  get active(): boolean;
1040
1046
  itemTemplate: ButtonItemTemplateDirective;
1047
+ private _size;
1048
+ private _rounded;
1041
1049
  private _fillMode;
1050
+ private _themeColor;
1042
1051
  private _buttonAttributes;
1043
1052
  private documentMouseUpSub;
1044
1053
  /**
@@ -1164,11 +1173,11 @@ interface ChipAvatarSettings {
1164
1173
  * <kendo-chip label="Chip Label"></kendo-chip>
1165
1174
  * ```
1166
1175
  */
1167
- declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
1176
+ declare class ChipComponent implements OnInit, AfterViewInit {
1168
1177
  element: ElementRef;
1169
1178
  private renderer;
1170
- private ngZone;
1171
1179
  private localizationService;
1180
+ private ngZone;
1172
1181
  /**
1173
1182
  * Sets the label text of the Chip.
1174
1183
  *
@@ -1199,7 +1208,8 @@ declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
1199
1208
  * Specifies the selected state of the Chip.
1200
1209
  * @default false
1201
1210
  */
1202
- selected: boolean;
1211
+ set selected(value: boolean);
1212
+ get selected(): boolean;
1203
1213
  /**
1204
1214
  * Specifies if the Chip is removable.
1205
1215
  * If set to `true`, the Chip renders a remove icon.
@@ -1285,7 +1295,7 @@ declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
1285
1295
  /**
1286
1296
  * @hidden
1287
1297
  */
1288
- direction: string;
1298
+ get direction(): string;
1289
1299
  /**
1290
1300
  * @hidden
1291
1301
  */
@@ -1302,12 +1312,13 @@ declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
1302
1312
  private _rounded;
1303
1313
  private _fillMode;
1304
1314
  private _themeColor;
1305
- private focused;
1315
+ private _focused;
1316
+ private _selected;
1317
+ private _direction;
1306
1318
  private subs;
1307
- constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone, localizationService: LocalizationService);
1319
+ constructor(element: ElementRef, renderer: Renderer2, localizationService: LocalizationService, ngZone: NgZone);
1308
1320
  ngOnInit(): void;
1309
1321
  ngOnDestroy(): void;
1310
- ngOnChanges(changes: SimpleChanges): void;
1311
1322
  ngAfterViewInit(): void;
1312
1323
  /**
1313
1324
  * @hidden
@@ -1345,6 +1356,7 @@ declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
1345
1356
  private handleClasses;
1346
1357
  private handleThemeColor;
1347
1358
  private keyDownHandler;
1359
+ private setAriSelected;
1348
1360
  static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
1349
1361
  static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "kendo-chip", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "avatarSettings": { "alias": "avatarSettings"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "removeIcon": { "alias": "removeIcon"; "required": false; }; "removeSvgIcon": { "alias": "removeSvgIcon"; "required": false; }; "hasMenu": { "alias": "hasMenu"; "required": false; }; "menuIcon": { "alias": "menuIcon"; "required": false; }; "menuSvgIcon": { "alias": "menuSvgIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; }, { "remove": "remove"; "menuToggle": "menuToggle"; "contentClick": "contentClick"; }, never, ["*"], true, never>;
1350
1362
  }
@@ -1403,7 +1415,7 @@ declare class ChipListComponent implements OnInit, AfterViewInit, AfterContentIn
1403
1415
  /**
1404
1416
  * @hidden
1405
1417
  */
1406
- direction: string;
1418
+ get direction(): string;
1407
1419
  /**
1408
1420
  * Sets the selection mode of the ChipList.
1409
1421
  *
@@ -1434,6 +1446,7 @@ declare class ChipListComponent implements OnInit, AfterViewInit, AfterContentIn
1434
1446
  private _size;
1435
1447
  private subs;
1436
1448
  private _navigable;
1449
+ private _direction;
1437
1450
  /**
1438
1451
  * @hidden
1439
1452
  */
@@ -1684,13 +1697,13 @@ declare class FloatingActionButtonComponent implements AfterViewInit, OnDestroy
1684
1697
  private element;
1685
1698
  private focusService;
1686
1699
  private navigationService;
1687
- private ngZone;
1688
1700
  private popupService;
1689
1701
  private builder;
1690
1702
  private localizationService;
1703
+ private ngZone;
1691
1704
  get fixedClass(): boolean;
1692
1705
  get absoluteClass(): boolean;
1693
- direction: string;
1706
+ get direction(): string;
1694
1707
  button: ElementRef<HTMLButtonElement>;
1695
1708
  popupTemplate: TemplateRef<any>;
1696
1709
  dialItemTemplate: DialItemTemplateDirective;
@@ -1816,6 +1829,7 @@ declare class FloatingActionButtonComponent implements AfterViewInit, OnDestroy
1816
1829
  private _disabled;
1817
1830
  private _align;
1818
1831
  private _offset;
1832
+ private _direction;
1819
1833
  private subscriptions;
1820
1834
  private popupMouseDownListener;
1821
1835
  private rtl;
@@ -1823,7 +1837,7 @@ declare class FloatingActionButtonComponent implements AfterViewInit, OnDestroy
1823
1837
  private popupRef;
1824
1838
  private initialSetup;
1825
1839
  private focusChangedProgrammatically;
1826
- constructor(renderer: Renderer2, element: ElementRef, focusService: FocusService, navigationService: NavigationService, ngZone: NgZone, popupService: PopupService, builder: AnimationBuilder, localizationService: LocalizationService);
1840
+ constructor(renderer: Renderer2, element: ElementRef, focusService: FocusService, navigationService: NavigationService, popupService: PopupService, builder: AnimationBuilder, localizationService: LocalizationService, ngZone: NgZone);
1827
1841
  ngAfterViewInit(): void;
1828
1842
  ngOnDestroy(): void;
1829
1843
  /**
@@ -2001,7 +2015,8 @@ declare class SplitButtonComponent extends ListButton implements AfterViewInit,
2001
2015
  /**
2002
2016
  * Configures the padding of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#size)). The default value is set by the Kendo theme.
2003
2017
  */
2004
- size: SplitButtonSize;
2018
+ set size(size: SplitButtonSize);
2019
+ get size(): SplitButtonSize;
2005
2020
  /**
2006
2021
  * Configures the border radius of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#rounded)). The default value is set by the Kendo theme.
2007
2022
  */
@@ -2015,7 +2030,8 @@ declare class SplitButtonComponent extends ListButton implements AfterViewInit,
2015
2030
  /**
2016
2031
  * Configures the theme color of the SplitButton. The theme color applies to the background, border, and text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#themecolor)). The default value is set by the Kendo theme.
2017
2032
  */
2018
- themeColor: ButtonThemeColor;
2033
+ set themeColor(themeColor: ButtonThemeColor);
2034
+ get themeColor(): ButtonThemeColor;
2019
2035
  /**
2020
2036
  * Disables the SplitButton when set to `true` ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
2021
2037
  */
@@ -2091,7 +2107,7 @@ declare class SplitButtonComponent extends ListButton implements AfterViewInit,
2091
2107
  * Specifies a template to customize the content of the items in the drop-down list.
2092
2108
  */
2093
2109
  itemTemplate: ButtonItemTemplateDirective;
2094
- activeArrow: boolean;
2110
+ get activeArrow(): boolean;
2095
2111
  listId: string;
2096
2112
  /**
2097
2113
  * @hidden
@@ -2105,11 +2121,14 @@ declare class SplitButtonComponent extends ListButton implements AfterViewInit,
2105
2121
  * @hidden
2106
2122
  */
2107
2123
  get componentTabIndex(): number;
2108
- private buttonText;
2124
+ private readonly buttonText;
2109
2125
  private arrowButtonClicked;
2110
2126
  private _rounded;
2111
2127
  private _fillMode;
2128
+ private _themeColor;
2129
+ private _size;
2112
2130
  private _buttonAttributes;
2131
+ private _activeArrow;
2113
2132
  private documentMouseUpSub;
2114
2133
  set isFocused(value: boolean);
2115
2134
  get isFocused(): boolean;
@@ -2231,11 +2250,15 @@ declare class Messages extends ComponentMessages {
2231
2250
  * </kendo-splitbutton>
2232
2251
  * ```
2233
2252
  */
2234
- splitButtonLabel: string;
2253
+ set splitButtonLabel(value: string);
2254
+ get splitButtonLabel(): string;
2235
2255
  /**
2236
2256
  * Specifies the text for the SplitButton toggle button `aria-label`.
2237
2257
  */
2238
- toggleButtonLabel: string;
2258
+ set toggleButtonLabel(value: string);
2259
+ get toggleButtonLabel(): string;
2260
+ private _toggleButtonLabel;
2261
+ private _splitButtonLabel;
2239
2262
  static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
2240
2263
  static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-splitbutton-messages-base", never, { "splitButtonLabel": { "alias": "splitButtonLabel"; "required": false; }; "toggleButtonLabel": { "alias": "toggleButtonLabel"; "required": false; }; }, {}, never, never, true, never>;
2241
2264
  }
@@ -2446,7 +2469,7 @@ declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
2446
2469
  private _fillMode;
2447
2470
  private _themeColor;
2448
2471
  private _focused;
2449
- private direction;
2472
+ private _direction;
2450
2473
  private handleClasses;
2451
2474
  private handleStart;
2452
2475
  private handleEnd;
@@ -2725,7 +2748,7 @@ declare class SmartPasteButtonComponent implements OnInit, OnDestroy {
2725
2748
  private _fillMode;
2726
2749
  private _themeColor;
2727
2750
  private _focused;
2728
- private direction;
2751
+ private _direction;
2729
2752
  private _iconClass;
2730
2753
  private _icon;
2731
2754
  private _svgIcon;
@@ -2801,6 +2824,7 @@ declare class SegmentedControlComponent implements AfterViewInit, OnDestroy {
2801
2824
  private renderer;
2802
2825
  private wrapper;
2803
2826
  private zone;
2827
+ private injector;
2804
2828
  hostClass: boolean;
2805
2829
  get stretchedClass(): boolean;
2806
2830
  get direction(): string;
@@ -2844,7 +2868,7 @@ declare class SegmentedControlComponent implements AfterViewInit, OnDestroy {
2844
2868
  private _layoutMode;
2845
2869
  private _direction;
2846
2870
  private subs;
2847
- constructor(renderer: Renderer2, wrapper: ElementRef, zone: NgZone, localization: LocalizationService);
2871
+ constructor(renderer: Renderer2, wrapper: ElementRef, zone: NgZone, injector: Injector, localization: LocalizationService);
2848
2872
  ngAfterViewInit(): void;
2849
2873
  ngOnDestroy(): void;
2850
2874
  /**
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1783688474,
11
- "version": "25.0.0-develop.2",
10
+ "publishDate": 1783940106,
11
+ "version": "25.0.0-develop.4",
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": "25.0.0-develop.2",
3
+ "version": "25.0.0-develop.4",
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": 1783688474,
59
+ "publishDate": 1783940106,
60
60
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
61
61
  }
62
62
  },
@@ -66,15 +66,15 @@
66
66
  "@angular/core": "20 - 22",
67
67
  "@angular/platform-browser": "20 - 22",
68
68
  "@progress/kendo-licensing": "^1.11.0",
69
- "@progress/kendo-angular-common": "25.0.0-develop.2",
70
- "@progress/kendo-angular-l10n": "25.0.0-develop.2",
71
- "@progress/kendo-angular-popup": "25.0.0-develop.2",
72
- "@progress/kendo-angular-icons": "25.0.0-develop.2",
69
+ "@progress/kendo-angular-common": "25.0.0-develop.4",
70
+ "@progress/kendo-angular-l10n": "25.0.0-develop.4",
71
+ "@progress/kendo-angular-popup": "25.0.0-develop.4",
72
+ "@progress/kendo-angular-icons": "25.0.0-develop.4",
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": "25.0.0-develop.2",
77
+ "@progress/kendo-angular-schematics": "25.0.0-develop.4",
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"