@progress/kendo-angular-buttons 8.0.0-next.202204011456 → 8.0.0-next.202204131126
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/bundles/kendo-angular-buttons.umd.js +1 -1
- package/button/button.directive.d.ts +30 -43
- package/buttongroup/buttongroup.component.d.ts +1 -2
- package/chip/chip-list.component.d.ts +1 -1
- package/chip/chip.component.d.ts +19 -20
- package/common/models/fillmode.d.ts +2 -2
- package/common/models/rounded.d.ts +2 -2
- package/common/models/size.d.ts +2 -2
- package/common/models/theme-color.d.ts +2 -2
- package/common/models.d.ts +0 -1
- package/dropdownbutton/dropdownbutton.component.d.ts +14 -25
- package/esm2015/button/button.directive.js +55 -65
- package/esm2015/buttongroup/buttongroup.component.js +6 -5
- package/esm2015/chip/chip-list.component.js +4 -3
- package/esm2015/chip/chip.component.js +47 -47
- package/esm2015/common/models.js +0 -1
- package/esm2015/dropdownbutton/dropdownbutton.component.js +25 -36
- package/esm2015/floatingactionbutton/dial-item.component.js +1 -0
- package/esm2015/floatingactionbutton/dial-list.component.js +1 -0
- package/esm2015/floatingactionbutton/floatingactionbutton.component.js +55 -52
- package/esm2015/focusable/focusable.directive.js +5 -11
- package/esm2015/listbutton/list-button.js +15 -35
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/splitbutton/localization/messages.js +1 -0
- package/esm2015/splitbutton/splitbutton.component.js +27 -19
- package/esm2015/util.js +4 -4
- package/fesm2015/kendo-angular-buttons.js +240 -276
- package/floatingactionbutton/floatingactionbutton.component.d.ts +22 -35
- package/focusable/focusable.directive.d.ts +1 -2
- package/listbutton/list-button.d.ts +1 -11
- package/main.d.ts +0 -1
- package/package.json +4 -4
- package/splitbutton/splitbutton.component.d.ts +11 -9
- package/common/models/shape.d.ts +0 -11
- package/esm2015/common/models/shape.js +0 -5
|
@@ -16,7 +16,6 @@ import { FabPositionMode } from './models/position-mode';
|
|
|
16
16
|
import { DialItemClickEvent } from './models/item-click.event';
|
|
17
17
|
import { ButtonSize } from '../common/models/size';
|
|
18
18
|
import { ButtonThemeColor } from '../common/models/theme-color';
|
|
19
|
-
import { ButtonShape } from '../common/models/shape';
|
|
20
19
|
import { PreventableEvent } from '../preventable-event';
|
|
21
20
|
import { DialItemTemplateDirective } from './templates/dial-item-template.directive';
|
|
22
21
|
import { FloatingActionButtonTemplateDirective } from './templates/fab-template.directive';
|
|
@@ -50,16 +49,17 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
|
|
|
50
49
|
* The theme color will be applied as background color of the component.
|
|
51
50
|
*
|
|
52
51
|
* The possible values are:
|
|
53
|
-
* * `
|
|
54
|
-
* * `
|
|
55
|
-
* * `
|
|
56
|
-
* * `
|
|
57
|
-
* * `
|
|
58
|
-
* * `
|
|
59
|
-
* * `
|
|
60
|
-
* * `
|
|
61
|
-
* * `
|
|
62
|
-
* * `
|
|
52
|
+
* * `primary` (Default)—Applies coloring based on the `primary` theme color.
|
|
53
|
+
* * `secondary`—Applies coloring based on the `secondary` theme color.
|
|
54
|
+
* * `tertiary`— Applies coloring based on the `tertiary` theme color.
|
|
55
|
+
* * `info`—Applies coloring based on the `info` theme color.
|
|
56
|
+
* * `success`— Applies coloring based on the `success` theme color.
|
|
57
|
+
* * `warning`— Applies coloring based on the `warning` theme color.
|
|
58
|
+
* * `error`— Applies coloring based on the `error` theme color.
|
|
59
|
+
* * `dark`— Applies coloring based on the `dark` theme color.
|
|
60
|
+
* * `light`— Applies coloring based on the `light` theme color.
|
|
61
|
+
* * `inverse`— Applies coloring based on the `inverse` theme color.
|
|
62
|
+
* * `none`— Removes the built in theme color.
|
|
63
63
|
*/
|
|
64
64
|
set themeColor(themeColor: ButtonThemeColor);
|
|
65
65
|
get themeColor(): ButtonThemeColor;
|
|
@@ -68,9 +68,10 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
|
|
|
68
68
|
* ([see example]({% slug appearance_floatingactionbutton %}#toc-size)).
|
|
69
69
|
*
|
|
70
70
|
* The possible values are:
|
|
71
|
-
* * `
|
|
72
|
-
* * `
|
|
73
|
-
* * `
|
|
71
|
+
* * `small`
|
|
72
|
+
* * `medium` (Default)
|
|
73
|
+
* * `large`
|
|
74
|
+
* * `none`
|
|
74
75
|
*/
|
|
75
76
|
set size(size: ButtonSize);
|
|
76
77
|
get size(): ButtonSize;
|
|
@@ -78,27 +79,14 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
|
|
|
78
79
|
* The rounded property specifies the border radius of the FloatingActionButton.
|
|
79
80
|
*
|
|
80
81
|
* The possible values are:
|
|
81
|
-
* * `
|
|
82
|
-
* * `
|
|
83
|
-
* * `
|
|
84
|
-
* * `
|
|
85
|
-
* * `
|
|
82
|
+
* * `small`
|
|
83
|
+
* * `medium`
|
|
84
|
+
* * `large`
|
|
85
|
+
* * `full` (default)
|
|
86
|
+
* * `none`
|
|
86
87
|
*/
|
|
87
88
|
set rounded(rounded: ButtonRounded);
|
|
88
89
|
get rounded(): ButtonRounded;
|
|
89
|
-
/**
|
|
90
|
-
* @hidden
|
|
91
|
-
*
|
|
92
|
-
* Specifies the shape of the FloatingActionButton
|
|
93
|
-
* ([see example]({% slug appearance_floatingactionbutton %}#toc-shape)).
|
|
94
|
-
*
|
|
95
|
-
* The possible values are:
|
|
96
|
-
* * `rectangle` (Default)—Applies rectangular shape on the FloatingActionButton.
|
|
97
|
-
* * `square`—Applies square shape on the FloatingActionButton.
|
|
98
|
-
*
|
|
99
|
-
*/
|
|
100
|
-
set shape(shape: ButtonShape);
|
|
101
|
-
get shape(): ButtonShape;
|
|
102
90
|
/**
|
|
103
91
|
* Specifies whether the FloatingActionButton is disabled.
|
|
104
92
|
*/
|
|
@@ -214,11 +202,10 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
|
|
|
214
202
|
id: string;
|
|
215
203
|
private _themeColor;
|
|
216
204
|
private _size;
|
|
217
|
-
private
|
|
205
|
+
private _rounded;
|
|
218
206
|
private _disabled;
|
|
219
207
|
private _align;
|
|
220
208
|
private _offset;
|
|
221
|
-
private _rounded;
|
|
222
209
|
private subscriptions;
|
|
223
210
|
private popupMouseDownListener;
|
|
224
211
|
private rtl;
|
|
@@ -328,5 +315,5 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
|
|
|
328
315
|
private animationGap;
|
|
329
316
|
private animationDuration;
|
|
330
317
|
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonComponent, never>;
|
|
331
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": "themeColor"; "size": "size"; "rounded": "rounded"; "
|
|
318
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": "themeColor"; "size": "size"; "rounded": "rounded"; "disabled": "disabled"; "align": "align"; "offset": "offset"; "positionMode": "positionMode"; "icon": "icon"; "iconClass": "iconClass"; "buttonClass": "buttonClass"; "dialClass": "dialClass"; "text": "text"; "dialItemAnimation": "dialItemAnimation"; "tabIndex": "tabIndex"; "dialItems": "dialItems"; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never>;
|
|
332
319
|
}
|
|
@@ -13,7 +13,7 @@ export declare class FocusableDirective implements OnInit, OnDestroy {
|
|
|
13
13
|
private renderer;
|
|
14
14
|
index: number;
|
|
15
15
|
private element;
|
|
16
|
-
private
|
|
16
|
+
private subs;
|
|
17
17
|
constructor(focusService: FocusService, elementRef: ElementRef, renderer: Renderer2);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
/**
|
|
@@ -21,7 +21,6 @@ export declare class FocusableDirective implements OnInit, OnDestroy {
|
|
|
21
21
|
*/
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
23
|
private subscribeEvents;
|
|
24
|
-
private unsubscribeEvents;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FocusableDirective, never>;
|
|
26
25
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoButtonFocusable]", never, { "index": "index"; }, {}, never>;
|
|
27
26
|
}
|
|
@@ -31,18 +31,10 @@ export declare class ListButton implements OnDestroy {
|
|
|
31
31
|
protected _blur: EventEmitter<any>;
|
|
32
32
|
protected wrapper: HTMLElement;
|
|
33
33
|
protected button: ElementRef;
|
|
34
|
-
protected
|
|
35
|
-
protected navigationSubscription: Subscription;
|
|
36
|
-
protected enterPressSubscription: Subscription;
|
|
37
|
-
protected enterUpSubscription: Subscription;
|
|
38
|
-
protected openSubscription: Subscription;
|
|
39
|
-
protected closeSubscription: Subscription;
|
|
40
|
-
protected componentBlurredSubscription: Subscription;
|
|
41
|
-
protected tabSubscription: Subscription;
|
|
34
|
+
protected subs: Subscription;
|
|
42
35
|
protected direction: Direction;
|
|
43
36
|
protected focusFirstTimeout: any;
|
|
44
37
|
protected blurTimeout: any;
|
|
45
|
-
private localizationChangeSubscription;
|
|
46
38
|
constructor(focusService: FocusService, navigationService: NavigationService, wrapperRef: ElementRef, _zone: NgZone, localization: LocalizationService, cdr: ChangeDetectorRef);
|
|
47
39
|
get popupClasses(): string;
|
|
48
40
|
get openState(): boolean;
|
|
@@ -61,8 +53,6 @@ export declare class ListButton implements OnDestroy {
|
|
|
61
53
|
protected subscribeComponentBlurredEvent(): void;
|
|
62
54
|
protected subscribeNavigationEvents(): void;
|
|
63
55
|
protected enterHandler(): void;
|
|
64
|
-
protected unsubscribeEvents(): void;
|
|
65
|
-
protected unsubscribe(subscription: Subscription): void;
|
|
66
56
|
/**
|
|
67
57
|
* @hidden
|
|
68
58
|
*/
|
package/main.d.ts
CHANGED
|
@@ -39,6 +39,5 @@ export { ButtonSize, ChipSize } from './common/models/size';
|
|
|
39
39
|
export { ButtonRounded, ChipRounded } from './common/models/rounded';
|
|
40
40
|
export { ButtonFillMode, ChipFillMode } from './common/models/fillmode';
|
|
41
41
|
export { ButtonThemeColor, ChipThemeColor } from './common/models/theme-color';
|
|
42
|
-
export { ButtonShape } from './common/models/shape';
|
|
43
42
|
export { FocusableDirective } from './focusable/focusable.directive';
|
|
44
43
|
export { PreventableEvent } from './preventable-event';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-buttons",
|
|
3
|
-
"version": "8.0.0-next.
|
|
3
|
+
"version": "8.0.0-next.202204131126",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@angular/common": "^12.0.0 || ^13.0.0",
|
|
34
34
|
"@angular/core": "^12.0.0 || ^13.0.0",
|
|
35
35
|
"@angular/forms": "^12.0.0 || ^13.0.0",
|
|
36
|
-
"@progress/kendo-angular-common": "next",
|
|
37
|
-
"@progress/kendo-angular-l10n": "next",
|
|
38
|
-
"@progress/kendo-angular-popup": "next",
|
|
36
|
+
"@progress/kendo-angular-common": ">3.0.0-next",
|
|
37
|
+
"@progress/kendo-angular-l10n": ">4.0.0-next",
|
|
38
|
+
"@progress/kendo-angular-popup": ">5.0.0-next",
|
|
39
39
|
"@progress/kendo-licensing": "^1.0.2",
|
|
40
40
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
41
41
|
},
|
|
@@ -87,10 +87,10 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
87
87
|
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-size)).
|
|
88
88
|
*
|
|
89
89
|
* The possible values are:
|
|
90
|
-
* * `
|
|
91
|
-
* * `
|
|
92
|
-
* * `
|
|
93
|
-
* * `
|
|
90
|
+
* * `small`
|
|
91
|
+
* * `medium` (default)
|
|
92
|
+
* * `large`
|
|
93
|
+
* * `none`
|
|
94
94
|
*/
|
|
95
95
|
size: ButtonSize;
|
|
96
96
|
/**
|
|
@@ -98,11 +98,11 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
98
98
|
* ([see example]({% slug api_buttons_splitbuttoncomponent %}#toc-rounded)).
|
|
99
99
|
*
|
|
100
100
|
* The possible values are:
|
|
101
|
-
* * `
|
|
102
|
-
* * `
|
|
103
|
-
* * `
|
|
104
|
-
* * `
|
|
105
|
-
* * `
|
|
101
|
+
* * `small`
|
|
102
|
+
* * `medium` (default)
|
|
103
|
+
* * `large`
|
|
104
|
+
* * `full`
|
|
105
|
+
* * `none`
|
|
106
106
|
*/
|
|
107
107
|
set rounded(rounded: ButtonRounded);
|
|
108
108
|
get rounded(): ButtonRounded;
|
|
@@ -135,6 +135,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
135
135
|
* * `dark`— Applies coloring based on the `dark` theme color.
|
|
136
136
|
* * `light`— Applies coloring based on the `light` theme color.
|
|
137
137
|
* * `inverse`— Applies coloring based on the `inverse` theme color.
|
|
138
|
+
* * `none`— Removes the built in theme color.
|
|
138
139
|
*/
|
|
139
140
|
themeColor: ButtonThemeColor;
|
|
140
141
|
/**
|
|
@@ -286,6 +287,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
286
287
|
private lockFocus;
|
|
287
288
|
private _rounded;
|
|
288
289
|
private _fillMode;
|
|
290
|
+
private popupSubs;
|
|
289
291
|
set isFocused(value: boolean);
|
|
290
292
|
get isFocused(): boolean;
|
|
291
293
|
get widgetClasses(): boolean;
|
package/common/models/shape.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*
|
|
8
|
-
* Represents the possible shapes of the buttons.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export declare type ButtonShape = 'rectangle' | 'square';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export {};
|