@progress/kendo-angular-buttons 24.0.0-develop.2 → 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,6 +9,10 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
9
9
  * - `stretch`—Items stretch to fill the full width of the control.
10
10
  */
11
11
  export type SegmentedControlLayout = 'compact' | 'stretch';
12
+ /**
13
+ * Specifies the possible sizes of the SegmentedControl.
14
+ */
15
+ export type SegmentedControlSize = 'small' | 'medium' | 'large';
12
16
  /**
13
17
  * Represents the settings for an item in the `SegmentedControlComponent`.
14
18
  */
@@ -5,8 +5,7 @@
5
5
  import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2 } from '@angular/core';
6
6
  import { ResizeSensorComponent } from '@progress/kendo-angular-common';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { ButtonSize } from '../common/models';
9
- import { SegmentedItemSettings, SegmentedControlLayout } from './models';
8
+ import { SegmentedItemSettings, SegmentedControlLayout, SegmentedControlSize } from './models';
10
9
  import * as i0 from "@angular/core";
11
10
  /**
12
11
  * Represents the Kendo UI SegmentedControl component for Angular.
@@ -39,8 +38,8 @@ export declare class SegmentedControlComponent implements AfterViewInit, OnDestr
39
38
  /**
40
39
  * Specifies the size of the SegmentedControl.
41
40
  */
42
- set size(size: ButtonSize);
43
- get size(): ButtonSize;
41
+ set size(size: SegmentedControlSize);
42
+ get size(): SegmentedControlSize;
44
43
  /**
45
44
  * Specifies the index of the selected button in the `items` array.
46
45
  *
@@ -107,7 +107,6 @@ export declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
107
107
  classButton: boolean;
108
108
  get classDisabled(): boolean;
109
109
  get getDirection(): string;
110
- get ariaPressed(): boolean;
111
110
  /**
112
111
  * @hidden
113
112
  */
@@ -11,7 +11,7 @@ import { ButtonItemTemplateDirective } from './../listbutton/button-item-templat
11
11
  import { FocusService } from './../focusable/focus.service';
12
12
  import { NavigationService } from './../navigation/navigation.service';
13
13
  import { PreventableEvent } from '../preventable-event';
14
- import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from '../common/models';
14
+ import { ButtonFillMode, ButtonRounded, ButtonThemeColor, SplitButtonSize } from '../common/models';
15
15
  import { PopupContainerService } from '../listbutton/container.service';
16
16
  import { SVGIcon } from '@progress/kendo-svg-icons';
17
17
  import * as i0 from "@angular/core";
@@ -77,7 +77,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
77
77
  /**
78
78
  * 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.
79
79
  */
80
- size: ButtonSize;
80
+ size: SplitButtonSize;
81
81
  /**
82
82
  * 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.
83
83
  */
package/util.d.ts CHANGED
@@ -20,6 +20,7 @@ export declare function closest(element: any, selector: string): any;
20
20
  * @hidden
21
21
  */
22
22
  export declare const SIZES: {
23
+ xsmall: string;
23
24
  small: string;
24
25
  medium: string;
25
26
  large: string;