@progress/kendo-angular-buttons 23.0.0-develop.1 → 23.0.0-develop.11
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/README.md +2 -1
- package/button/button.component.d.ts +5 -13
- package/buttons.module.d.ts +2 -1
- package/chip/chip-list.component.d.ts +1 -3
- package/chip/chip.component.d.ts +4 -12
- package/directives.d.ts +16 -1
- package/dropdownbutton/dropdownbutton.component.d.ts +3 -7
- package/fesm2022/progress-kendo-angular-buttons.mjs +792 -71
- package/floatingactionbutton/floatingactionbutton.component.d.ts +3 -7
- package/index.d.ts +3 -0
- package/package-metadata.mjs +2 -2
- package/package.json +8 -7
- package/smartpastebutton/models/form-field.d.ts +40 -0
- package/smartpastebutton/models/index.d.ts +6 -0
- package/smartpastebutton/models/service-settings.d.ts +108 -0
- package/smartpastebutton/smartpastebutton.component.d.ts +175 -0
- package/smartpastebutton/smartpastebutton.module.d.ts +27 -0
- package/smartpastebutton/utils.d.ts +50 -0
- package/speechtotextbutton/speechtotextbutton.component.d.ts +5 -10
- package/splitbutton/splitbutton.component.d.ts +4 -12
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ The Kendo UI for Angular Buttons provide a clickable UI functionality which can
|
|
|
15
15
|
|
|
16
16
|
## What's Included in the Angular Buttons Package
|
|
17
17
|
|
|
18
|
-
The [Angular Buttons](https://www.telerik.com/kendo-angular-ui/components/buttons) package includes
|
|
18
|
+
The [Angular Buttons](https://www.telerik.com/kendo-angular-ui/components/buttons) package includes eight built-in components:
|
|
19
19
|
|
|
20
20
|
* [Angular Button Component](https://www.telerik.com/kendo-angular-ui/components/buttons/button)
|
|
21
21
|
* [Angular ButtonGroup Component](https://www.telerik.com/kendo-angular-ui/components/buttons/buttongroup)
|
|
@@ -23,6 +23,7 @@ The [Angular Buttons](https://www.telerik.com/kendo-angular-ui/components/button
|
|
|
23
23
|
* [Angular ChipList Component](https://www.telerik.com/kendo-angular-ui/components/buttons/chiplist)
|
|
24
24
|
* [Angular DropDownButton Component](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton)
|
|
25
25
|
* [Angular FloatingActionButton Component](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton)
|
|
26
|
+
* [Angular SmartPasteButton Component](https://www.telerik.com/kendo-angular-ui/components/buttons/smartpastebutton)
|
|
26
27
|
* [Angular SplitButton Component](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton)
|
|
27
28
|
|
|
28
29
|
## Key Features
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { SimpleChanges, ElementRef, EventEmitter, Renderer2, OnDestroy, NgZone, OnInit, OnChanges } from '@angular/core';
|
|
6
6
|
import { KendoButtonService } from './button.service';
|
|
7
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
9
|
import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from '../common/models';
|
|
9
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
10
|
import { ArrowIconSettings } from '../common/models/arrow-settings';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
@@ -83,34 +83,26 @@ export declare class ButtonComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
83
83
|
get disabled(): boolean;
|
|
84
84
|
/**
|
|
85
85
|
* Sets the padding of the Button.
|
|
86
|
-
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#size).
|
|
87
|
-
*
|
|
88
|
-
* @default 'medium'
|
|
86
|
+
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#size). The default value is set by the Kendo theme.
|
|
89
87
|
*/
|
|
90
88
|
set size(size: ButtonSize);
|
|
91
89
|
get size(): ButtonSize;
|
|
92
90
|
/**
|
|
93
91
|
* Sets the border radius of the Button.
|
|
94
|
-
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#roundness).
|
|
95
|
-
*
|
|
96
|
-
* @default 'medium'
|
|
92
|
+
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#roundness). The default value is set by the Kendo theme.
|
|
97
93
|
*/
|
|
98
94
|
set rounded(rounded: ButtonRounded);
|
|
99
95
|
get rounded(): ButtonRounded;
|
|
100
96
|
/**
|
|
101
97
|
* Sets the background and border styles of the Button.
|
|
102
|
-
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#fill-mode).
|
|
103
|
-
*
|
|
104
|
-
* @default 'solid'
|
|
98
|
+
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#fill-mode). The default value is set by the Kendo theme.
|
|
105
99
|
*/
|
|
106
100
|
set fillMode(fillMode: ButtonFillMode);
|
|
107
101
|
get fillMode(): ButtonFillMode;
|
|
108
102
|
/**
|
|
109
103
|
* Sets a predefined theme color for the Button.
|
|
110
104
|
* The theme color applies as a background and border color and adjusts the text color.
|
|
111
|
-
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#theme-colors).
|
|
112
|
-
*
|
|
113
|
-
* @default 'base'
|
|
105
|
+
* See [Button Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/button/appearance#theme-colors). The default value is set by the Kendo theme.
|
|
114
106
|
*/
|
|
115
107
|
set themeColor(themeColor: ButtonThemeColor);
|
|
116
108
|
get themeColor(): ButtonThemeColor;
|
package/buttons.module.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import * as i10 from "./splitbutton/splitbutton.component";
|
|
|
16
16
|
import * as i11 from "./splitbutton/localization/custom-messages.component";
|
|
17
17
|
import * as i12 from "@progress/kendo-angular-common";
|
|
18
18
|
import * as i13 from "./speechtotextbutton/speechtotextbutton.component";
|
|
19
|
+
import * as i14 from "./smartpastebutton/smartpastebutton.component";
|
|
19
20
|
/**
|
|
20
21
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
21
22
|
* definition for the Buttons components.
|
|
@@ -39,6 +40,6 @@ import * as i13 from "./speechtotextbutton/speechtotextbutton.component";
|
|
|
39
40
|
*/
|
|
40
41
|
export declare class ButtonsModule {
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonsModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonsModule, never, [typeof i1.ButtonComponent, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.DropDownButtonComponent, typeof i4.ButtonItemTemplateDirective, typeof i5.ChipComponent, typeof i5.ChipComponent, typeof i6.ChipListComponent, typeof i7.FloatingActionButtonComponent, typeof i8.DialItemTemplateDirective, typeof i9.FloatingActionButtonTemplateDirective, typeof i10.SplitButtonComponent, typeof i11.SplitButtonCustomMessagesComponent, typeof i12.ToggleButtonTabStopDirective, typeof i4.ButtonItemTemplateDirective, typeof i13.SpeechToTextButtonComponent, typeof i12.ToggleButtonTabStopDirective], [typeof i1.ButtonComponent, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.DropDownButtonComponent, typeof i4.ButtonItemTemplateDirective, typeof i5.ChipComponent, typeof i5.ChipComponent, typeof i6.ChipListComponent, typeof i7.FloatingActionButtonComponent, typeof i8.DialItemTemplateDirective, typeof i9.FloatingActionButtonTemplateDirective, typeof i10.SplitButtonComponent, typeof i11.SplitButtonCustomMessagesComponent, typeof i12.ToggleButtonTabStopDirective, typeof i4.ButtonItemTemplateDirective, typeof i13.SpeechToTextButtonComponent, typeof i12.ToggleButtonTabStopDirective]>;
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonsModule, never, [typeof i1.ButtonComponent, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.DropDownButtonComponent, typeof i4.ButtonItemTemplateDirective, typeof i5.ChipComponent, typeof i5.ChipComponent, typeof i6.ChipListComponent, typeof i7.FloatingActionButtonComponent, typeof i8.DialItemTemplateDirective, typeof i9.FloatingActionButtonTemplateDirective, typeof i10.SplitButtonComponent, typeof i11.SplitButtonCustomMessagesComponent, typeof i12.ToggleButtonTabStopDirective, typeof i4.ButtonItemTemplateDirective, typeof i13.SpeechToTextButtonComponent, typeof i14.SmartPasteButtonComponent, typeof i12.ToggleButtonTabStopDirective], [typeof i1.ButtonComponent, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.DropDownButtonComponent, typeof i4.ButtonItemTemplateDirective, typeof i5.ChipComponent, typeof i5.ChipComponent, typeof i6.ChipListComponent, typeof i7.FloatingActionButtonComponent, typeof i8.DialItemTemplateDirective, typeof i9.FloatingActionButtonTemplateDirective, typeof i10.SplitButtonComponent, typeof i11.SplitButtonCustomMessagesComponent, typeof i12.ToggleButtonTabStopDirective, typeof i4.ButtonItemTemplateDirective, typeof i13.SpeechToTextButtonComponent, typeof i14.SmartPasteButtonComponent, typeof i12.ToggleButtonTabStopDirective]>;
|
|
43
44
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonsModule>;
|
|
44
45
|
}
|
|
@@ -44,9 +44,7 @@ export declare class ChipListComponent implements OnInit, AfterViewInit, AfterCo
|
|
|
44
44
|
selection: ChipListSelection;
|
|
45
45
|
/**
|
|
46
46
|
* Sets the gap between the Chips in the ChipList.
|
|
47
|
-
* See [ChipList Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chiplist/appearance#size).
|
|
48
|
-
*
|
|
49
|
-
* @default 'medium'
|
|
47
|
+
* See [ChipList Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chiplist/appearance#size). The default value is set by the Kendo theme.
|
|
50
48
|
*/
|
|
51
49
|
set size(size: ChipSize);
|
|
52
50
|
get size(): ChipSize;
|
package/chip/chip.component.d.ts
CHANGED
|
@@ -91,34 +91,26 @@ export declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
|
|
|
91
91
|
disabled: boolean;
|
|
92
92
|
/**
|
|
93
93
|
* Sets the padding of the Chip.
|
|
94
|
-
* See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#size).
|
|
95
|
-
*
|
|
96
|
-
* @default 'medium'
|
|
94
|
+
* See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#size). The default value is set by the Kendo theme.
|
|
97
95
|
*/
|
|
98
96
|
set size(size: ChipSize);
|
|
99
97
|
get size(): ChipSize;
|
|
100
98
|
/**
|
|
101
99
|
* Sets the border radius of the Chip.
|
|
102
|
-
* See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#roundness).
|
|
103
|
-
*
|
|
104
|
-
* @default 'medium'
|
|
100
|
+
* See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#roundness). The default value is set by the Kendo theme.
|
|
105
101
|
*/
|
|
106
102
|
set rounded(rounded: ChipRounded);
|
|
107
103
|
get rounded(): ChipRounded;
|
|
108
104
|
/**
|
|
109
105
|
* Sets the background and border styles of the Chip.
|
|
110
|
-
* See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#fill-mode).
|
|
111
|
-
*
|
|
112
|
-
* @default 'solid'
|
|
106
|
+
* See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#fill-mode). The default value is set by the Kendo theme.
|
|
113
107
|
*/
|
|
114
108
|
set fillMode(fillMode: ChipFillMode);
|
|
115
109
|
get fillMode(): ChipFillMode;
|
|
116
110
|
/**
|
|
117
111
|
* Sets a predefined theme color for the Chip.
|
|
118
112
|
* The theme color applies as a background and border color and adjusts the text color.
|
|
119
|
-
* See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#theme-colors).
|
|
120
|
-
*
|
|
121
|
-
* @default 'base'
|
|
113
|
+
* See [Chip Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/chip/appearance#theme-colors). The default value is set by the Kendo theme.
|
|
122
114
|
*/
|
|
123
115
|
set themeColor(themeColor: ChipThemeColor);
|
|
124
116
|
get themeColor(): ChipThemeColor;
|
package/directives.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { SplitButtonCustomMessagesComponent } from './splitbutton/localization/c
|
|
|
15
15
|
import { SplitButtonComponent } from './splitbutton/splitbutton.component';
|
|
16
16
|
import { ButtonItemTemplateDirective } from './listbutton/button-item-template.directive';
|
|
17
17
|
import { SpeechToTextButtonComponent } from './speechtotextbutton/speechtotextbutton.component';
|
|
18
|
+
import { SmartPasteButtonComponent } from './smartpastebutton/smartpastebutton.component';
|
|
18
19
|
/**
|
|
19
20
|
* Use the `KENDO_BUTTON` utility array to add all Button-related components and directives to a standalone Angular component.
|
|
20
21
|
*
|
|
@@ -127,6 +128,20 @@ export declare const KENDO_SPLITBUTTON: readonly [typeof SplitButtonComponent, t
|
|
|
127
128
|
* ```
|
|
128
129
|
*/
|
|
129
130
|
export declare const KENDO_SPEECHTOTEXTBUTTON: readonly [typeof SpeechToTextButtonComponent];
|
|
131
|
+
/**
|
|
132
|
+
* Use the `KENDO_SMARTPASTEBUTTON` utility array to add all SmartPasteButton-related components and directives to a standalone Angular component.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* ```typescript
|
|
136
|
+
* @Component({
|
|
137
|
+
* standalone: true,
|
|
138
|
+
* imports: [KENDO_SMARTPASTEBUTTON],
|
|
139
|
+
* // ...
|
|
140
|
+
* })
|
|
141
|
+
* export class MyComponent {}
|
|
142
|
+
* ```
|
|
143
|
+
*/
|
|
144
|
+
export declare const KENDO_SMARTPASTEBUTTON: readonly [typeof SmartPasteButtonComponent];
|
|
130
145
|
/**
|
|
131
146
|
* Use the `KENDO_BUTTONS` utility array to add all `@progress/kendo-angular-buttons`-related components and directives to a standalone Angular component.
|
|
132
147
|
*
|
|
@@ -140,4 +155,4 @@ export declare const KENDO_SPEECHTOTEXTBUTTON: readonly [typeof SpeechToTextButt
|
|
|
140
155
|
* export class MyComponent {}
|
|
141
156
|
* ```
|
|
142
157
|
*/
|
|
143
|
-
export declare const KENDO_BUTTONS: readonly [typeof ButtonComponent, typeof ButtonComponent, typeof ButtonGroupComponent, typeof DropDownButtonComponent, typeof ButtonItemTemplateDirective, typeof ChipComponent, typeof ChipComponent, typeof ChipListComponent, typeof FloatingActionButtonComponent, typeof DialItemTemplateDirective, typeof FloatingActionButtonTemplateDirective, typeof SplitButtonComponent, typeof SplitButtonCustomMessagesComponent, typeof ToggleButtonTabStopDirective, typeof ButtonItemTemplateDirective, typeof SpeechToTextButtonComponent];
|
|
158
|
+
export declare const KENDO_BUTTONS: readonly [typeof ButtonComponent, typeof ButtonComponent, typeof ButtonGroupComponent, typeof DropDownButtonComponent, typeof ButtonItemTemplateDirective, typeof ChipComponent, typeof ChipComponent, typeof ChipListComponent, typeof FloatingActionButtonComponent, typeof DialItemTemplateDirective, typeof FloatingActionButtonTemplateDirective, typeof SplitButtonComponent, typeof SplitButtonCustomMessagesComponent, typeof ToggleButtonTabStopDirective, typeof ButtonItemTemplateDirective, typeof SpeechToTextButtonComponent, typeof SmartPasteButtonComponent];
|
|
@@ -75,24 +75,20 @@ export declare class DropDownButtonComponent extends ListButton implements After
|
|
|
75
75
|
set data(data: any);
|
|
76
76
|
get data(): any;
|
|
77
77
|
/**
|
|
78
|
-
* Specifies the padding of the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#size).
|
|
79
|
-
* @default 'medium'
|
|
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.
|
|
80
79
|
*/
|
|
81
80
|
size: ButtonSize;
|
|
82
81
|
/**
|
|
83
|
-
* Specifies the border radius of the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#roundness).
|
|
84
|
-
* @default 'medium'
|
|
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.
|
|
85
83
|
*/
|
|
86
84
|
rounded: ButtonRounded;
|
|
87
85
|
/**
|
|
88
|
-
* 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).
|
|
89
|
-
* @default 'solid'
|
|
86
|
+
* 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.
|
|
90
87
|
*/
|
|
91
88
|
set fillMode(fillMode: ButtonFillMode);
|
|
92
89
|
get fillMode(): ButtonFillMode;
|
|
93
90
|
/**
|
|
94
91
|
* Specifies predefined theme colors for the DropDownButton. See [DropDownButton Appearance](https://www.telerik.com/kendo-angular-ui/components/buttons/dropdownbutton/appearance#theme-colors).
|
|
95
|
-
* @default 'base'
|
|
96
92
|
*/
|
|
97
93
|
themeColor: ButtonThemeColor;
|
|
98
94
|
/**
|