@progress/kendo-angular-buttons 24.0.0-develop.20 → 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.
- package/button/button.component.d.ts +2 -10
- package/common/models/size.d.ts +13 -1
- package/common/models/theme-color.d.ts +11 -3
- package/dropdownbutton/dropdownbutton.component.d.ts +2 -2
- package/fesm2022/progress-kendo-angular-buttons.mjs +15 -30
- package/floatingactionbutton/floatingactionbutton.component.d.ts +6 -6
- package/index.d.ts +2 -2
- package/package-metadata.mjs +2 -2
- package/package.json +7 -7
- package/segmentedcontrol/models.d.ts +4 -0
- package/segmentedcontrol/segmented-control.component.d.ts +3 -4
- package/splitbutton/splitbutton.component.d.ts +2 -2
- package/util.d.ts +1 -0
|
@@ -128,7 +128,7 @@ export declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
128
128
|
click: EventEmitter<any>;
|
|
129
129
|
element: HTMLElement;
|
|
130
130
|
isDisabled: boolean;
|
|
131
|
-
|
|
131
|
+
chevronDownIcon: SVGIcon;
|
|
132
132
|
private _size;
|
|
133
133
|
private _rounded;
|
|
134
134
|
private _fillMode;
|
|
@@ -155,14 +155,6 @@ export declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
155
155
|
* @hidden
|
|
156
156
|
*/
|
|
157
157
|
onBlur(): void;
|
|
158
|
-
/**
|
|
159
|
-
* @hidden
|
|
160
|
-
*/
|
|
161
|
-
set primary(value: boolean);
|
|
162
|
-
/**
|
|
163
|
-
* @hidden
|
|
164
|
-
*/
|
|
165
|
-
set look(value: 'flat' | 'outline' | 'clear' | 'default');
|
|
166
158
|
/**
|
|
167
159
|
* Alias for ElementRef.nativeElement to workaround
|
|
168
160
|
* ViewChild() selectors that used to return the host element before v11.
|
|
@@ -205,5 +197,5 @@ export declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
205
197
|
private handleClasses;
|
|
206
198
|
private handleThemeColor;
|
|
207
199
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [null, null, { optional: true; }, null, null]>;
|
|
208
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kendoButton]", ["kendoButton"], { "arrowIcon": { "alias": "arrowIcon"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "togglable": { "alias": "togglable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "icon": { "alias": "icon"; "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; }; "svgIcon": { "alias": "svgIcon"; "required": false; };
|
|
200
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kendoButton]", ["kendoButton"], { "arrowIcon": { "alias": "arrowIcon"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "togglable": { "alias": "togglable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "icon": { "alias": "icon"; "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; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; }, { "selectedChange": "selectedChange"; "click": "click"; }, never, ["*"], true, never>;
|
|
209
201
|
}
|
package/common/models/size.d.ts
CHANGED
|
@@ -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' | '
|
|
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,
|
|
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:
|
|
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,
|
|
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
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';
|
|
10
10
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
11
|
-
import {
|
|
11
|
+
import { chevronDownIcon, xCircleIcon, moreVerticalIcon, microphoneOutlineIcon, stopSmIcon, 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:
|
|
53
|
-
version: '24.0.0-develop.
|
|
52
|
+
publishDate: 1778160888,
|
|
53
|
+
version: '24.0.0-develop.21',
|
|
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
|
-
|
|
357
|
+
chevronDownIcon = chevronDownIcon;
|
|
357
358
|
_size = undefined;
|
|
358
359
|
_rounded = undefined;
|
|
359
360
|
_fillMode = undefined;
|
|
@@ -400,18 +401,6 @@ class ButtonComponent {
|
|
|
400
401
|
onBlur() {
|
|
401
402
|
this.isFocused = false;
|
|
402
403
|
}
|
|
403
|
-
/**
|
|
404
|
-
* @hidden
|
|
405
|
-
*/
|
|
406
|
-
set primary(value) {
|
|
407
|
-
this.themeColor = value ? 'primary' : 'base';
|
|
408
|
-
}
|
|
409
|
-
/**
|
|
410
|
-
* @hidden
|
|
411
|
-
*/
|
|
412
|
-
set look(value) {
|
|
413
|
-
this.fillMode = (value === 'default') ? 'solid' : value;
|
|
414
|
-
}
|
|
415
404
|
/**
|
|
416
405
|
* Alias for ElementRef.nativeElement to workaround
|
|
417
406
|
* ViewChild() selectors that used to return the host element before v11.
|
|
@@ -550,7 +539,7 @@ class ButtonComponent {
|
|
|
550
539
|
}
|
|
551
540
|
}
|
|
552
541
|
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 });
|
|
553
|
-
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"
|
|
542
|
+
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-button": "this.classButton", "class.k-icon-button": "this.iconButtonClass", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
554
543
|
LocalizationService,
|
|
555
544
|
{
|
|
556
545
|
provide: L10N_PREFIX,
|
|
@@ -589,8 +578,8 @@ class ButtonComponent {
|
|
|
589
578
|
@if (arrowIcon && !$any(arrowIcon).iconClass) {
|
|
590
579
|
<span class="k-button-arrow">
|
|
591
580
|
<kendo-icon-wrapper
|
|
592
|
-
[name]="$any(arrowIcon).icon || '
|
|
593
|
-
[svgIcon]="$any(arrowIcon).svgIcon ||
|
|
581
|
+
[name]="$any(arrowIcon).icon || 'chevron-down'"
|
|
582
|
+
[svgIcon]="$any(arrowIcon).svgIcon || chevronDownIcon">
|
|
594
583
|
</kendo-icon-wrapper>
|
|
595
584
|
</span>
|
|
596
585
|
}
|
|
@@ -642,8 +631,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
642
631
|
@if (arrowIcon && !$any(arrowIcon).iconClass) {
|
|
643
632
|
<span class="k-button-arrow">
|
|
644
633
|
<kendo-icon-wrapper
|
|
645
|
-
[name]="$any(arrowIcon).icon || '
|
|
646
|
-
[svgIcon]="$any(arrowIcon).svgIcon ||
|
|
634
|
+
[name]="$any(arrowIcon).icon || 'chevron-down'"
|
|
635
|
+
[svgIcon]="$any(arrowIcon).svgIcon || chevronDownIcon">
|
|
647
636
|
</kendo-icon-wrapper>
|
|
648
637
|
</span>
|
|
649
638
|
}
|
|
@@ -709,10 +698,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
709
698
|
}], onBlur: [{
|
|
710
699
|
type: HostListener,
|
|
711
700
|
args: ['blur']
|
|
712
|
-
}], primary: [{
|
|
713
|
-
type: Input
|
|
714
|
-
}], look: [{
|
|
715
|
-
type: Input
|
|
716
701
|
}] } });
|
|
717
702
|
|
|
718
703
|
/**
|
|
@@ -3158,7 +3143,7 @@ class DropDownButtonComponent extends ListButton {
|
|
|
3158
3143
|
</kendo-button-list>
|
|
3159
3144
|
</ng-template>
|
|
3160
3145
|
<ng-container #container></ng-container>
|
|
3161
|
-
`, 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"
|
|
3146
|
+
`, 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"] }] });
|
|
3162
3147
|
}
|
|
3163
3148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DropDownButtonComponent, decorators: [{
|
|
3164
3149
|
type: Component,
|
|
@@ -4814,11 +4799,11 @@ class SplitButtonComponent extends ListButton {
|
|
|
4814
4799
|
/**
|
|
4815
4800
|
* Specifies the name of the font icon displayed on the button that opens the popup.
|
|
4816
4801
|
*/
|
|
4817
|
-
arrowButtonIcon = '
|
|
4802
|
+
arrowButtonIcon = 'chevron-down';
|
|
4818
4803
|
/**
|
|
4819
4804
|
* Specifies the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgiconcomponent) displayed on the button that opens the popup.
|
|
4820
4805
|
*/
|
|
4821
|
-
arrowButtonSvgIcon =
|
|
4806
|
+
arrowButtonSvgIcon = chevronDownIcon;
|
|
4822
4807
|
/**
|
|
4823
4808
|
* Sets attributes for the main button.
|
|
4824
4809
|
*/
|
|
@@ -5225,7 +5210,7 @@ class SplitButtonComponent extends ListButton {
|
|
|
5225
5210
|
</kendo-button-list>
|
|
5226
5211
|
</ng-template>
|
|
5227
5212
|
<ng-container #container></ng-container>
|
|
5228
|
-
`, 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"
|
|
5213
|
+
`, 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"] }] });
|
|
5229
5214
|
}
|
|
5230
5215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
5231
5216
|
type: Component,
|
|
@@ -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 {
|
|
17
|
-
import {
|
|
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:
|
|
58
|
-
get themeColor():
|
|
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:
|
|
63
|
-
get size():
|
|
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';
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1778160888,
|
|
11
|
+
"version": "24.0.0-develop.21",
|
|
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.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.21",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"package": {
|
|
22
22
|
"productName": "Kendo UI for Angular",
|
|
23
23
|
"productCode": "KENDOUIANGULAR",
|
|
24
|
-
"publishDate":
|
|
24
|
+
"publishDate": 1778160888,
|
|
25
25
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"@angular/core": "19 - 21",
|
|
32
32
|
"@angular/platform-browser": "19 - 21",
|
|
33
33
|
"@progress/kendo-licensing": "^1.11.0",
|
|
34
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
34
|
+
"@progress/kendo-angular-common": "24.0.0-develop.21",
|
|
35
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.21",
|
|
36
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.21",
|
|
37
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.21",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
42
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.21",
|
|
43
43
|
"@progress/kendo-common": "^1.0.1",
|
|
44
44
|
"@progress/kendo-webspeech-common": "1.0.1",
|
|
45
45
|
"@progress/kendo-smartpaste-common": "1.0.0"
|
|
@@ -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 {
|
|
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:
|
|
43
|
-
get size():
|
|
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
|
*
|
|
@@ -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,
|
|
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:
|
|
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
|
*/
|