@progress/kendo-angular-buttons 24.0.0-develop.4 → 24.0.0-develop.40

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.
@@ -5,8 +5,20 @@
5
5
  /**
6
6
  * Specifies the possible sizes for the buttons.
7
7
  */
8
- export type ButtonSize = 'small' | 'medium' | 'large';
8
+ export type ButtonSize = 'xsmall' | 'small' | 'medium' | 'large';
9
9
  /**
10
10
  * Specifies the possible sizes for the Chip.
11
11
  */
12
12
  export type ChipSize = 'small' | 'medium' | 'large';
13
+ /**
14
+ * Specifies the possible sizes for the SplitButton.
15
+ */
16
+ export type SplitButtonSize = 'small' | 'medium' | 'large';
17
+ /**
18
+ * Specifies the possible sizes for the DropDownButton.
19
+ */
20
+ export type DropDownButtonSize = 'small' | 'medium' | 'large';
21
+ /**
22
+ * Specifies the possible sizes for the FloatingActionButton.
23
+ */
24
+ export type FloatingActionButtonSize = 'small' | 'medium' | 'large';
@@ -14,11 +14,9 @@
14
14
  * * `success`—Applies the `success` theme color.
15
15
  * * `warning`—Applies the `warning` theme color.
16
16
  * * `error`—Applies the `error` theme color.
17
- * * `dark`—Applies the `dark` theme color.
18
- * * `light`—Applies the `light` theme color.
19
17
  * * `inverse`—Applies the `inverse` theme color.
20
18
  */
21
- export type ButtonThemeColor = 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
19
+ export type ButtonThemeColor = 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'inverse';
22
20
  /**
23
21
  * Specifies the possible theme colors for the Chip.
24
22
  *
@@ -30,3 +28,13 @@ export type ButtonThemeColor = 'base' | 'primary' | 'secondary' | 'tertiary' | '
30
28
  * * `error`—Applies the `error` theme color.
31
29
  */
32
30
  export type ChipThemeColor = 'base' | 'info' | 'success' | 'warning' | 'error';
31
+ /**
32
+ * Specifies the possible theme colors for the FloatingActionButton component.
33
+ *
34
+ * The possible values are:
35
+ * * `base`—Applies the `base` theme color.
36
+ * * `primary`—Applies the `primary` theme color.
37
+ * * `secondary`—Applies the `secondary` theme color.
38
+ * * `tertiary`—Applies the `tertiary` theme color.
39
+ */
40
+ export type FloatingActionButtonThemeColor = 'base' | 'primary' | 'secondary' | 'tertiary';
@@ -10,7 +10,7 @@ import { Direction } from '../direction';
10
10
  import { ListButton } from '../listbutton/list-button';
11
11
  import { FocusService } from '../focusable/focus.service';
12
12
  import { NavigationService } from '../navigation/navigation.service';
13
- import { ArrowIconSettings, ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from '../common/models';
13
+ import { ArrowIconSettings, ButtonFillMode, ButtonRounded, ButtonThemeColor, DropDownButtonSize } from '../common/models';
14
14
  import { PopupContainerService } from '../listbutton/container.service';
15
15
  import { SVGIcon } from '@progress/kendo-svg-icons';
16
16
  import * as i0 from "@angular/core";
@@ -77,7 +77,7 @@ export declare class DropDownButtonComponent extends ListButton implements After
77
77
  /**
78
78
  * 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.
79
79
  */
80
- size: ButtonSize;
80
+ size: DropDownButtonSize;
81
81
  /**
82
82
  * 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.
83
83
  */
@@ -3,12 +3,12 @@
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 { Injectable, isDevMode, EventEmitter, Input, HostListener, HostBinding, Output, Optional, Component, ContentChildren, Directive, InjectionToken, Inject, ElementRef, ViewContainerRef, ViewChild, ContentChild, forwardRef, SkipSelf, ChangeDetectionStrategy, NgModule } from '@angular/core';
6
+ import { Injectable, isDevMode, EventEmitter, HostListener, HostBinding, Output, Input, Optional, Component, ContentChildren, Directive, InjectionToken, Inject, ElementRef, ViewContainerRef, ViewChild, ContentChild, forwardRef, SkipSelf, ChangeDetectionStrategy, NgModule } from '@angular/core';
7
7
  import { Subject, Subscription, fromEvent, merge, of, Observable, from } from 'rxjs';
8
8
  import * as i12 from '@progress/kendo-angular-common';
9
- import { isDocumentAvailable, isFirefox, isSafari, isChanged, hasObservers, normalizeKeys, Keys, TemplateContextDirective, MultiTabStop, guid, parseCSSClassNames, isPresent as isPresent$1, EventsOutsideAngularDirective, replaceMessagePlaceholder, anyChanged, PreventableEvent as PreventableEvent$1, ResizeSensorComponent, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
9
+ import { isDocumentAvailable, isFirefox, isSafari, isChanged, hasObservers, KENDO_WEBMCP_HOST, normalizeKeys, Keys, TemplateContextDirective, MultiTabStop, guid, parseCSSClassNames, isPresent as isPresent$1, EventsOutsideAngularDirective, replaceMessagePlaceholder, anyChanged, PreventableEvent as PreventableEvent$1, ResizeSensorComponent, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
10
10
  export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
11
- import { caretAltDownIcon, xCircleIcon, moreVerticalIcon, microphoneOutlineIcon, stopSmIcon, pasteSparkleIcon } from '@progress/kendo-svg-icons';
11
+ import { chevronDownIcon, xCircleIcon, moreVerticalIcon, microphoneIcon, stopIcon, pasteSparkleIcon } from '@progress/kendo-svg-icons';
12
12
  import * as i1 from '@progress/kendo-angular-l10n';
13
13
  import { LocalizationService, L10N_PREFIX, ComponentMessages } from '@progress/kendo-angular-l10n';
14
14
  import { validatePackage } from '@progress/kendo-licensing';
@@ -49,8 +49,8 @@ const packageMetadata = {
49
49
  productName: 'Kendo UI for Angular',
50
50
  productCode: 'KENDOUIANGULAR',
51
51
  productCodes: ['KENDOUIANGULAR'],
52
- publishDate: 1776957204,
53
- version: '24.0.0-develop.4',
52
+ publishDate: 1779214877,
53
+ version: '24.0.0-develop.40',
54
54
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
55
55
  };
56
56
 
@@ -94,6 +94,7 @@ function closest(element, selector) {
94
94
  * @hidden
95
95
  */
96
96
  const SIZES = {
97
+ xsmall: 'xs',
97
98
  small: 'sm',
98
99
  medium: 'md',
99
100
  large: 'lg'
@@ -353,7 +354,7 @@ class ButtonComponent {
353
354
  click = new EventEmitter();
354
355
  element;
355
356
  isDisabled = false;
356
- caretAltDownIcon = caretAltDownIcon;
357
+ chevronDownIcon = chevronDownIcon;
357
358
  _size = undefined;
358
359
  _rounded = undefined;
359
360
  _fillMode = undefined;
@@ -372,12 +373,6 @@ class ButtonComponent {
372
373
  get isFocused() {
373
374
  return this._focused;
374
375
  }
375
- get classButton() {
376
- return true;
377
- }
378
- get isToggleable() {
379
- return this.toggleable;
380
- }
381
376
  get iconButtonClass() {
382
377
  const hasIcon = this.icon || this.iconClass || this.imageUrl || this.svgIcon;
383
378
  return hasIcon && !this.hasText;
@@ -403,18 +398,6 @@ class ButtonComponent {
403
398
  onBlur() {
404
399
  this.isFocused = false;
405
400
  }
406
- /**
407
- * @hidden
408
- */
409
- set primary(value) {
410
- this.themeColor = value ? 'primary' : 'base';
411
- }
412
- /**
413
- * @hidden
414
- */
415
- set look(value) {
416
- this.fillMode = (value === 'default') ? 'solid' : value;
417
- }
418
401
  /**
419
402
  * Alias for ElementRef.nativeElement to workaround
420
403
  * ViewChild() selectors that used to return the host element before v11.
@@ -434,6 +417,7 @@ class ButtonComponent {
434
417
  this.element = element.nativeElement;
435
418
  }
436
419
  ngOnInit() {
420
+ this.renderer.addClass(this.element, 'k-button');
437
421
  if (!this.element.hasAttribute('role') && this.togglable) {
438
422
  this.toggleAriaPressed(this.toggleable);
439
423
  }
@@ -553,11 +537,15 @@ class ButtonComponent {
553
537
  }
554
538
  }
555
539
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: KendoButtonService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
556
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconPosition: "iconPosition", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", primary: "primary", look: "look" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-button": "this.classButton", "class.k-toggle-button": "this.isToggleable", "class.k-icon-button": "this.iconButtonClass", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
540
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconPosition: "iconPosition", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
557
541
  LocalizationService,
558
542
  {
559
543
  provide: L10N_PREFIX,
560
544
  useValue: 'kendo.button'
545
+ },
546
+ {
547
+ provide: KENDO_WEBMCP_HOST,
548
+ useExisting: ButtonComponent
561
549
  }
562
550
  ], exportAs: ["kendoButton"], usesOnChanges: true, ngImport: i0, template: `
563
551
  <ng-template #iconTemplate>
@@ -592,8 +580,8 @@ class ButtonComponent {
592
580
  @if (arrowIcon && !$any(arrowIcon).iconClass) {
593
581
  <span class="k-button-arrow">
594
582
  <kendo-icon-wrapper
595
- [name]="$any(arrowIcon).icon || 'caret-alt-down'"
596
- [svgIcon]="$any(arrowIcon).svgIcon || caretAltDownIcon">
583
+ [name]="$any(arrowIcon).icon || 'chevron-down'"
584
+ [svgIcon]="$any(arrowIcon).svgIcon || chevronDownIcon">
597
585
  </kendo-icon-wrapper>
598
586
  </span>
599
587
  }
@@ -609,6 +597,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
609
597
  {
610
598
  provide: L10N_PREFIX,
611
599
  useValue: 'kendo.button'
600
+ },
601
+ {
602
+ provide: KENDO_WEBMCP_HOST,
603
+ useExisting: ButtonComponent
612
604
  }
613
605
  ],
614
606
  selector: 'button[kendoButton]',
@@ -645,8 +637,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
645
637
  @if (arrowIcon && !$any(arrowIcon).iconClass) {
646
638
  <span class="k-button-arrow">
647
639
  <kendo-icon-wrapper
648
- [name]="$any(arrowIcon).icon || 'caret-alt-down'"
649
- [svgIcon]="$any(arrowIcon).svgIcon || caretAltDownIcon">
640
+ [name]="$any(arrowIcon).icon || 'chevron-down'"
641
+ [svgIcon]="$any(arrowIcon).svgIcon || chevronDownIcon">
650
642
  </kendo-icon-wrapper>
651
643
  </span>
652
644
  }
@@ -691,12 +683,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
691
683
  type: Output
692
684
  }], click: [{
693
685
  type: Output
694
- }], classButton: [{
695
- type: HostBinding,
696
- args: ['class.k-button']
697
- }], isToggleable: [{
698
- type: HostBinding,
699
- args: ['class.k-toggle-button']
700
686
  }], iconButtonClass: [{
701
687
  type: HostBinding,
702
688
  args: ['class.k-icon-button']
@@ -715,10 +701,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
715
701
  }], onBlur: [{
716
702
  type: HostListener,
717
703
  args: ['blur']
718
- }], primary: [{
719
- type: Input
720
- }], look: [{
721
- type: Input
722
704
  }] } });
723
705
 
724
706
  /**
@@ -1215,11 +1197,8 @@ class ChipComponent {
1215
1197
  contentClick = new EventEmitter();
1216
1198
  tabIndex = 0;
1217
1199
  hostClass = true;
1218
- get hasIconClass() {
1219
- return Boolean(this.icon || this.iconClass || (this.avatarSettings && !isObjectEmpty(this.avatarSettings)));
1220
- }
1221
1200
  get disabledClass() {
1222
- return this.disabled;
1201
+ return this.disabled || null;
1223
1202
  }
1224
1203
  get selectedClass() {
1225
1204
  return this.selected;
@@ -1261,6 +1240,7 @@ class ChipComponent {
1261
1240
  this.subs.add(this.localizationService.changes
1262
1241
  .subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr'));
1263
1242
  this.renderer.setAttribute(this.element.nativeElement, 'role', 'button');
1243
+ this.renderer.setAttribute(this.element.nativeElement, 'aria-pressed', `${this.selected}`);
1264
1244
  }
1265
1245
  ngOnDestroy() {
1266
1246
  this.subs.unsubscribe();
@@ -1401,7 +1381,7 @@ class ChipComponent {
1401
1381
  }
1402
1382
  }
1403
1383
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChipComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1404
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ChipComponent, isStandalone: true, selector: "kendo-chip", inputs: { label: "label", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", avatarSettings: "avatarSettings", selected: "selected", removable: "removable", removeIcon: "removeIcon", removeSvgIcon: "removeSvgIcon", hasMenu: "hasMenu", menuIcon: "menuIcon", menuSvgIcon: "menuSvgIcon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor" }, outputs: { remove: "remove", menuToggle: "menuToggle", contentClick: "contentClick" }, host: { properties: { "attr.tabindex": "this.tabIndex", "class.k-chip": "this.hostClass", "class.k-chip-has-icon": "this.hasIconClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-selected": "this.selectedClass", "class.k-focus": "this.focusedClass", "attr.dir": "this.direction" } }, providers: [
1384
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ChipComponent, isStandalone: true, selector: "kendo-chip", inputs: { label: "label", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", avatarSettings: "avatarSettings", selected: "selected", removable: "removable", removeIcon: "removeIcon", removeSvgIcon: "removeSvgIcon", hasMenu: "hasMenu", menuIcon: "menuIcon", menuSvgIcon: "menuSvgIcon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor" }, outputs: { remove: "remove", menuToggle: "menuToggle", contentClick: "contentClick" }, host: { properties: { "attr.tabindex": "this.tabIndex", "class.k-chip": "this.hostClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-selected": "this.selectedClass", "class.k-focus": "this.focusedClass", "attr.dir": "this.direction" } }, providers: [
1405
1385
  LocalizationService,
1406
1386
  {
1407
1387
  provide: L10N_PREFIX,
@@ -1424,7 +1404,7 @@ class ChipComponent {
1424
1404
  }
1425
1405
  @if (avatarSettings) {
1426
1406
  <span
1427
- class="k-chip-avatar k-avatar k-avatar-sm k-avatar-solid k-avatar-solid-primary k-rounded-full"
1407
+ class="k-chip-avatar k-avatar"
1428
1408
  [ngStyle]="avatarSettings.cssStyle">
1429
1409
  @if (avatarSettings?.imageSrc) {
1430
1410
  <span class="k-avatar-image">
@@ -1495,7 +1475,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1495
1475
  }
1496
1476
  @if (avatarSettings) {
1497
1477
  <span
1498
- class="k-chip-avatar k-avatar k-avatar-sm k-avatar-solid k-avatar-solid-primary k-rounded-full"
1478
+ class="k-chip-avatar k-avatar"
1499
1479
  [ngStyle]="avatarSettings.cssStyle">
1500
1480
  @if (avatarSettings?.imageSrc) {
1501
1481
  <span class="k-avatar-image">
@@ -1600,9 +1580,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1600
1580
  }], hostClass: [{
1601
1581
  type: HostBinding,
1602
1582
  args: ['class.k-chip']
1603
- }], hasIconClass: [{
1604
- type: HostBinding,
1605
- args: ['class.k-chip-has-icon']
1606
1583
  }], disabledClass: [{
1607
1584
  type: HostBinding,
1608
1585
  args: ['attr.aria-disabled']
@@ -1674,9 +1651,6 @@ class ChipListComponent {
1674
1651
  */
1675
1652
  remove = new EventEmitter();
1676
1653
  chips;
1677
- get single() {
1678
- return this.selection === 'single';
1679
- }
1680
1654
  get multiple() {
1681
1655
  return this.selection === 'multiple' ? true : undefined;
1682
1656
  }
@@ -1861,11 +1835,11 @@ class ChipListComponent {
1861
1835
  this.chips.forEach((chip, idx) => {
1862
1836
  const chipEl = chip.element.nativeElement;
1863
1837
  this.renderer.removeAttribute(chipEl, 'aria-pressed');
1864
- if (this.selection !== 'none') {
1865
- this.renderer.setAttribute(chipEl, 'aria-selected', `${chip.selected}`);
1866
- }
1867
1838
  if (this.role === 'listbox') {
1868
1839
  this.renderer.setAttribute(chipEl, 'role', 'option');
1840
+ if (this.selection !== 'none') {
1841
+ this.renderer.setAttribute(chipEl, 'aria-selected', `${chip.selected}`);
1842
+ }
1869
1843
  }
1870
1844
  if (!this.navigable) {
1871
1845
  return;
@@ -1898,7 +1872,7 @@ class ChipListComponent {
1898
1872
  }
1899
1873
  }
1900
1874
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ChipListComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1901
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ChipListComponent, isStandalone: true, selector: "kendo-chiplist, kendo-chip-list", inputs: { orientation: "orientation", selection: "selection", size: "size", role: "role", navigable: "navigable" }, outputs: { selectedChange: "selectedChange", remove: "remove" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-chip-list": "this.hostClass", "attr.aria-orientation": "this.orientation", "attr.dir": "this.direction", "class.k-selection-single": "this.single", "attr.aria-multiselectable": "this.multiple", "class.k-selection-multiple": "this.multiple", "attr.role": "this.role" } }, providers: [
1875
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ChipListComponent, isStandalone: true, selector: "kendo-chiplist, kendo-chip-list", inputs: { orientation: "orientation", selection: "selection", size: "size", role: "role", navigable: "navigable" }, outputs: { selectedChange: "selectedChange", remove: "remove" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-chip-list": "this.hostClass", "attr.aria-orientation": "this.orientation", "attr.dir": "this.direction", "attr.aria-multiselectable": "this.multiple", "attr.role": "this.role" } }, providers: [
1902
1876
  LocalizationService,
1903
1877
  {
1904
1878
  provide: L10N_PREFIX,
@@ -1946,15 +1920,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1946
1920
  }], chips: [{
1947
1921
  type: ContentChildren,
1948
1922
  args: [ChipComponent]
1949
- }], single: [{
1950
- type: HostBinding,
1951
- args: ['class.k-selection-single']
1952
1923
  }], multiple: [{
1953
1924
  type: HostBinding,
1954
1925
  args: ['attr.aria-multiselectable']
1955
- }, {
1956
- type: HostBinding,
1957
- args: ['class.k-selection-multiple']
1958
1926
  }], role: [{
1959
1927
  type: HostBinding,
1960
1928
  args: ['attr.role']
@@ -2286,14 +2254,16 @@ class ListComponent {
2286
2254
  }
2287
2255
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2288
2256
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ListComponent, isStandalone: true, selector: "kendo-button-list", inputs: { data: "data", textField: "textField", itemTemplate: "itemTemplate", size: "size" }, outputs: { onItemClick: "onItemClick", onItemBlur: "onItemBlur" }, ngImport: i0, template: `
2289
- <ul class="k-group k-menu-group k-reset" role="list" [ngClass]="sizeClass">
2290
- @for (dataItem of data; track dataItem; let index = $index) {
2257
+ <ul class="k-menu-group" role="list" [ngClass]="sizeClass">
2258
+ @for (dataItem of data; track dataItem; let index = $index; let isFirst = $first; let isLast = $last) {
2291
2259
  <li kendoButtonFocusable
2292
2260
  [index]="index"
2293
2261
  tabindex="-1"
2294
2262
  class="k-item k-menu-item"
2263
+ [class.k-first]="isFirst"
2264
+ [class.k-last]="isLast"
2295
2265
  role="listitem"
2296
- [attr.aria-disabled]="dataItem.disabled ? true : false"
2266
+ [attr.aria-disabled]="dataItem.disabled || null"
2297
2267
  (click)="$event.stopImmediatePropagation(); onClick(index);"
2298
2268
  (blur)="onBlur()">
2299
2269
  @if (itemTemplate?.templateRef) {
@@ -2342,14 +2312,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
2342
2312
  args: [{
2343
2313
  selector: 'kendo-button-list',
2344
2314
  template: `
2345
- <ul class="k-group k-menu-group k-reset" role="list" [ngClass]="sizeClass">
2346
- @for (dataItem of data; track dataItem; let index = $index) {
2315
+ <ul class="k-menu-group" role="list" [ngClass]="sizeClass">
2316
+ @for (dataItem of data; track dataItem; let index = $index; let isFirst = $first; let isLast = $last) {
2347
2317
  <li kendoButtonFocusable
2348
2318
  [index]="index"
2349
2319
  tabindex="-1"
2350
2320
  class="k-item k-menu-item"
2321
+ [class.k-first]="isFirst"
2322
+ [class.k-last]="isLast"
2351
2323
  role="listitem"
2352
- [attr.aria-disabled]="dataItem.disabled ? true : false"
2324
+ [attr.aria-disabled]="dataItem.disabled || null"
2353
2325
  (click)="$event.stopImmediatePropagation(); onClick(index);"
2354
2326
  (blur)="onBlur()">
2355
2327
  @if (itemTemplate?.templateRef) {
@@ -3151,7 +3123,7 @@ class DropDownButtonComponent extends ListButton {
3151
3123
  (click)="openPopup()"
3152
3124
  (focus)="handleFocus($event)"
3153
3125
  (blur)="onButtonBlur()"
3154
- [attr.aria-disabled]="disabled"
3126
+ [attr.aria-disabled]="disabled || null"
3155
3127
  [attr.aria-expanded]="openState"
3156
3128
  [attr.aria-controls]="openState ? listId : null"
3157
3129
  >
@@ -3174,7 +3146,7 @@ class DropDownButtonComponent extends ListButton {
3174
3146
  </kendo-button-list>
3175
3147
  </ng-template>
3176
3148
  <ng-container #container></ng-container>
3177
- `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
3149
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
3178
3150
  }
3179
3151
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DropDownButtonComponent, decorators: [{
3180
3152
  type: Component,
@@ -3213,7 +3185,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
3213
3185
  (click)="openPopup()"
3214
3186
  (focus)="handleFocus($event)"
3215
3187
  (blur)="onButtonBlur()"
3216
- [attr.aria-disabled]="disabled"
3188
+ [attr.aria-disabled]="disabled || null"
3217
3189
  [attr.aria-expanded]="openState"
3218
3190
  [attr.aria-controls]="openState ? listId : null"
3219
3191
  >
@@ -4378,7 +4350,7 @@ class FloatingActionButtonComponent {
4378
4350
  [class.k-disabled]="disabled"
4379
4351
  [ngClass]="buttonClass"
4380
4352
  [disabled]="disabled"
4381
- [attr.aria-disabled]="disabled"
4353
+ [attr.aria-disabled]="disabled || null"
4382
4354
  [attr.aria-expanded]="ariaExpanded"
4383
4355
  [attr.aria-haspopup]="ariaHasPopup"
4384
4356
  [attr.aria-controls]="ariaControls"
@@ -4456,7 +4428,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
4456
4428
  [class.k-disabled]="disabled"
4457
4429
  [ngClass]="buttonClass"
4458
4430
  [disabled]="disabled"
4459
- [attr.aria-disabled]="disabled"
4431
+ [attr.aria-disabled]="disabled || null"
4460
4432
  [attr.aria-expanded]="ariaExpanded"
4461
4433
  [attr.aria-haspopup]="ariaHasPopup"
4462
4434
  [attr.aria-controls]="ariaControls"
@@ -4830,11 +4802,11 @@ class SplitButtonComponent extends ListButton {
4830
4802
  /**
4831
4803
  * Specifies the name of the font icon displayed on the button that opens the popup.
4832
4804
  */
4833
- arrowButtonIcon = 'caret-alt-down';
4805
+ arrowButtonIcon = 'chevron-down';
4834
4806
  /**
4835
4807
  * Specifies the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgiconcomponent) displayed on the button that opens the popup.
4836
4808
  */
4837
- arrowButtonSvgIcon = caretAltDownIcon;
4809
+ arrowButtonSvgIcon = chevronDownIcon;
4838
4810
  /**
4839
4811
  * Sets attributes for the main button.
4840
4812
  */
@@ -5200,8 +5172,6 @@ class SplitButtonComponent extends ListButton {
5200
5172
  (blur)="onButtonBlur()"
5201
5173
  (mousedown)="toggleButtonActiveState(true)"
5202
5174
  (mouseup)="toggleButtonActiveState(false)"
5203
- [attr.aria-expanded]="openState"
5204
- [attr.aria-controls]="openState ? listId : null"
5205
5175
  [attr.aria-label]="ariaLabel"
5206
5176
  >
5207
5177
  @if (text) {
@@ -5222,6 +5192,8 @@ class SplitButtonComponent extends ListButton {
5222
5192
  [themeColor]="themeColor"
5223
5193
  [tabindex]="-1"
5224
5194
  [attr.aria-label]="messageFor('toggleButtonLabel')"
5195
+ [attr.aria-expanded]="openState"
5196
+ [attr.aria-controls]="openState ? listId : null"
5225
5197
  (click)="onArrowButtonClick()"
5226
5198
  (mousedown)="toggleArrowButtonActiveState(true)"
5227
5199
  (mouseup)="toggleArrowButtonActiveState(false)"
@@ -5241,7 +5213,7 @@ class SplitButtonComponent extends ListButton {
5241
5213
  </kendo-button-list>
5242
5214
  </ng-template>
5243
5215
  <ng-container #container></ng-container>
5244
- `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
5216
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
5245
5217
  }
5246
5218
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SplitButtonComponent, decorators: [{
5247
5219
  type: Component,
@@ -5291,8 +5263,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
5291
5263
  (blur)="onButtonBlur()"
5292
5264
  (mousedown)="toggleButtonActiveState(true)"
5293
5265
  (mouseup)="toggleButtonActiveState(false)"
5294
- [attr.aria-expanded]="openState"
5295
- [attr.aria-controls]="openState ? listId : null"
5296
5266
  [attr.aria-label]="ariaLabel"
5297
5267
  >
5298
5268
  @if (text) {
@@ -5313,6 +5283,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
5313
5283
  [themeColor]="themeColor"
5314
5284
  [tabindex]="-1"
5315
5285
  [attr.aria-label]="messageFor('toggleButtonLabel')"
5286
+ [attr.aria-expanded]="openState"
5287
+ [attr.aria-controls]="openState ? listId : null"
5316
5288
  (click)="onArrowButtonClick()"
5317
5289
  (mousedown)="toggleArrowButtonActiveState(true)"
5318
5290
  (mouseup)="toggleArrowButtonActiveState(false)"
@@ -5544,9 +5516,6 @@ class SpeechToTextButtonComponent {
5544
5516
  get getDirection() {
5545
5517
  return this.direction;
5546
5518
  }
5547
- get ariaPressed() {
5548
- return this.isListening;
5549
- }
5550
5519
  /**
5551
5520
  * @hidden
5552
5521
  */
@@ -5691,7 +5660,7 @@ class SpeechToTextButtonComponent {
5691
5660
  * @hidden
5692
5661
  */
5693
5662
  get buttonIcon() {
5694
- return this.isListening ? 'stop-sm' : 'microphone-outline';
5663
+ return this.isListening ? 'stop' : 'microphone';
5695
5664
  }
5696
5665
  /**
5697
5666
  * @hidden
@@ -5705,8 +5674,8 @@ class SpeechToTextButtonComponent {
5705
5674
  * @hidden
5706
5675
  */
5707
5676
  subs = new Subscription();
5708
- microphoneSvgIcon = microphoneOutlineIcon;
5709
- stopSvgIcon = stopSmIcon;
5677
+ microphoneSvgIcon = microphoneIcon;
5678
+ stopSvgIcon = stopIcon;
5710
5679
  speechRecognition;
5711
5680
  _size = undefined;
5712
5681
  _rounded = undefined;
@@ -5801,7 +5770,7 @@ class SpeechToTextButtonComponent {
5801
5770
  });
5802
5771
  }
5803
5772
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SpeechToTextButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
5804
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", 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", "attr.aria-pressed": "this.ariaPressed" } }, providers: [
5773
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", 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: [
5805
5774
  LocalizationService,
5806
5775
  {
5807
5776
  provide: L10N_PREFIX,
@@ -5887,9 +5856,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
5887
5856
  }], getDirection: [{
5888
5857
  type: HostBinding,
5889
5858
  args: ['attr.dir']
5890
- }], ariaPressed: [{
5891
- type: HostBinding,
5892
- args: ['attr.aria-pressed']
5893
5859
  }], onFocus: [{
5894
5860
  type: HostListener,
5895
5861
  args: ['focus']
@@ -13,8 +13,8 @@ import { FabOffset } from './models/offset';
13
13
  import { DialItemAnimation } from './models/item-animation.interface';
14
14
  import { FabPositionMode } from './models/position-mode';
15
15
  import { DialItemClickEvent } from './models/item-click.event';
16
- import { ButtonSize } from '../common/models/size';
17
- import { ButtonThemeColor } from '../common/models/theme-color';
16
+ import { FloatingActionButtonSize } from '../common/models/size';
17
+ import { FloatingActionButtonThemeColor } from '../common/models/theme-color';
18
18
  import { PreventableEvent } from '../preventable-event';
19
19
  import { DialItemTemplateDirective } from './templates/dial-item-template.directive';
20
20
  import { FloatingActionButtonTemplateDirective } from './templates/fab-template.directive';
@@ -54,13 +54,13 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
54
54
  /**
55
55
  * Specifies the theme color of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/appearance#theme-colors)). The default value is set by the Kendo theme.
56
56
  */
57
- set themeColor(themeColor: ButtonThemeColor);
58
- get themeColor(): ButtonThemeColor;
57
+ set themeColor(themeColor: FloatingActionButtonThemeColor);
58
+ get themeColor(): FloatingActionButtonThemeColor;
59
59
  /**
60
60
  * Specifies the size of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/appearance#size)). The default value is set by the Kendo theme.
61
61
  */
62
- set size(size: ButtonSize);
63
- get size(): ButtonSize;
62
+ set size(size: FloatingActionButtonSize);
63
+ get size(): FloatingActionButtonSize;
64
64
  /**
65
65
  * Specifies the border radius of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/appearance#roundness)). The default value is set by the Kendo theme.
66
66
  */
package/index.d.ts CHANGED
@@ -49,8 +49,8 @@ export { SmartPasteButtonModule } from './smartpastebutton/smartpastebutton.modu
49
49
  export { SmartPasteFormField, SmartPasteType, SmartPasteAIRequestData, SmartPasteAIResponse, SmartPasteAIRequestOptions, SmartPasteRequestStartEvent, SmartPasteRequestEndEvent } from './smartpastebutton/models';
50
50
  export { SegmentedControlComponent } from './segmentedcontrol/segmented-control.component';
51
51
  export { SegmentedControlModule } from './segmentedcontrol/segmented-control.module';
52
- export { SegmentedItemSettings, SegmentedControlLayout } from './segmentedcontrol/models';
53
- export { ButtonSize, ChipSize, ButtonRounded, ChipRounded, ButtonFillMode, ChipFillMode, ButtonThemeColor, ChipThemeColor, ArrowIconSettings, ButtonIconPosition } from './common/models';
52
+ export { SegmentedItemSettings, SegmentedControlLayout, SegmentedControlSize } from './segmentedcontrol/models';
53
+ export { ButtonSize, SplitButtonSize, DropDownButtonSize, FloatingActionButtonSize, ChipSize, ButtonRounded, ChipRounded, ButtonFillMode, ChipFillMode, ButtonThemeColor, ChipThemeColor, FloatingActionButtonThemeColor, ArrowIconSettings, ButtonIconPosition } from './common/models';
54
54
  export { FocusableDirective } from './focusable/focusable.directive';
55
55
  export { PreventableEvent } from './preventable-event';
56
56
  export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1776957204,
11
- "version": "24.0.0-develop.4",
10
+ "publishDate": 1779214877,
11
+ "version": "24.0.0-develop.40",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };