@progress/kendo-vue-buttons 8.0.3-develop.1 → 8.0.3-develop.3

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.
Files changed (62) hide show
  1. package/Button.d.ts +273 -0
  2. package/ButtonGroup.d.ts +58 -0
  3. package/ButtonGroupInterface.d.ts +37 -0
  4. package/ButtonInterface.d.ts +57 -0
  5. package/ButtonWrap.d.ts +12 -0
  6. package/Chip/Chip.d.ts +351 -0
  7. package/Chip/ChipList.d.ts +278 -0
  8. package/Chip/ChipList.mjs +4 -4
  9. package/Chip/data-reducer.d.ts +28 -0
  10. package/Chip/data-reducer.js +1 -1
  11. package/Chip/data-reducer.mjs +2 -2
  12. package/Chip/focus-reducer.d.ts +31 -0
  13. package/Chip/focus-reducer.js +1 -1
  14. package/Chip/focus-reducer.mjs +2 -2
  15. package/Chip/selection-reducer.d.ts +36 -0
  16. package/Chip/selection-reducer.js +1 -1
  17. package/Chip/selection-reducer.mjs +3 -3
  18. package/FloatingActionButton/FloatingActionButton.d.ts +151 -0
  19. package/FloatingActionButton/FloatingActionButtonItem.d.ts +134 -0
  20. package/FloatingActionButton/interfaces/FloatingActionButtonHandle.d.ts +20 -0
  21. package/FloatingActionButton/interfaces/FloatingActionButtonPopupSettings.d.ts +31 -0
  22. package/FloatingActionButton/interfaces/FloatingActionButtonProps.d.ts +240 -0
  23. package/FloatingActionButton/models/align-offset.d.ts +27 -0
  24. package/FloatingActionButton/models/align.d.ts +34 -0
  25. package/FloatingActionButton/models/events.d.ts +29 -0
  26. package/FloatingActionButton/models/position-mode.d.ts +16 -0
  27. package/FloatingActionButton/models/size.d.ts +17 -0
  28. package/FloatingActionButton/models/theme-color.d.ts +24 -0
  29. package/FloatingActionButton/utils.d.ts +34 -0
  30. package/ListButton/ButtonItem.d.ts +57 -0
  31. package/ListButton/DropDownButton.d.ts +168 -0
  32. package/ListButton/SplitButton.d.ts +174 -0
  33. package/ListButton/models/ButtonItemInterface.d.ts +36 -0
  34. package/ListButton/models/ListButtonProps.d.ts +311 -0
  35. package/ListButton/models/PopupSettings.d.ts +31 -0
  36. package/ListButton/models/events.d.ts +118 -0
  37. package/ListButton/utils/navigation.d.ts +12 -0
  38. package/ListButton/utils/popup.d.ts +16 -0
  39. package/SpeechToText/SpeechToTextButton.d.ts +242 -0
  40. package/SpeechToText/SpeechToTextButton.js +1 -1
  41. package/SpeechToText/SpeechToTextButton.mjs +2 -2
  42. package/dist/cdn/js/kendo-vue-buttons.js +1 -1
  43. package/index.d.mts +31 -2942
  44. package/index.d.ts +31 -2942
  45. package/models/ButtonBlurEvent.d.ts +16 -0
  46. package/models/ButtonFocusEvent.d.ts +16 -0
  47. package/models/events.d.ts +96 -0
  48. package/package-metadata.d.ts +12 -0
  49. package/package-metadata.js +1 -1
  50. package/package-metadata.mjs +2 -2
  51. package/package.json +13 -7
  52. package/toolbar/Toolbar.d.ts +170 -0
  53. package/toolbar/interfaces/ToolbarOverflowProps.d.ts +48 -0
  54. package/toolbar/interfaces/ToolbarProps.d.ts +93 -0
  55. package/toolbar/messages/index.d.ts +27 -0
  56. package/toolbar/tools/ToolbarItem.d.ts +14 -0
  57. package/toolbar/tools/ToolbarOverflowSection.d.ts +50 -0
  58. package/toolbar/tools/ToolbarScrollButton.d.ts +47 -0
  59. package/toolbar/tools/ToolbarScrollable.d.ts +58 -0
  60. package/toolbar/tools/ToolbarSeparator.d.ts +34 -0
  61. package/toolbar/tools/ToolbarSpacer.d.ts +48 -0
  62. package/util.d.ts +37 -0
package/Button.d.ts ADDED
@@ -0,0 +1,273 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { SvgIconProps } from '@progress/kendo-vue-common';
9
+ import { ButtonInterface } from './ButtonInterface';
10
+ import { ButtonFocusEvent } from './models/ButtonFocusEvent';
11
+ import { ButtonBlurEvent } from './models/ButtonBlurEvent';
12
+ import { PropType } from 'vue';
13
+ /**
14
+ * Represents the props of the [Kendo UI for Vue Button component]({% slug overview_button %}).
15
+ * Extends the [native button props](https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement).
16
+ */
17
+ export interface ButtonProps extends ButtonInterface {
18
+ /**
19
+ * Configures the `size` of the Button.
20
+ *
21
+ * The available options are:
22
+ * - small
23
+ * - medium
24
+ * - large
25
+ *
26
+ * @default `undefined`
27
+ */
28
+ size?: 'small' | 'medium' | 'large';
29
+ /**
30
+ * Configures the `roundness` of the Button.
31
+ *
32
+ * The available options are:
33
+ * - none
34
+ * - small
35
+ * - medium
36
+ * - large
37
+ * - circle
38
+ * - full
39
+ *
40
+ * @default `undefined`
41
+ */
42
+ rounded?: 'none' | 'small' | 'medium' | 'large' | 'full';
43
+ /**
44
+ * Configures the `fillMode` of the Button.
45
+ *
46
+ * The available options are:
47
+ * - solid
48
+ * - outline
49
+ * - flat
50
+ * - link
51
+ *
52
+ * @default `undefined`
53
+ */
54
+ fillMode?: 'solid' | 'outline' | 'flat' | 'link';
55
+ /**
56
+ * Configures the `themeColor` of the Button.
57
+ *
58
+ * The available options are:
59
+ * - base
60
+ * - primary
61
+ * - secondary
62
+ * - tertiary
63
+ * - info
64
+ * - success
65
+ * - warning
66
+ * - dark
67
+ * - light
68
+ * - inverse
69
+ *
70
+ * @default `undefined`
71
+ */
72
+ themeColor?: 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'dark' | 'light' | 'inverse';
73
+ /**
74
+ * Sets the `tabIndex` property of the Button.
75
+ */
76
+ tabIndex?: number;
77
+ /**
78
+ * Sets the `accessKey` property of the Button.
79
+ */
80
+ accessKey?: string;
81
+ /**
82
+ * Sets the `id` property of the Button.
83
+ */
84
+ id?: string;
85
+ /**
86
+ * Sets the `type` property of the Button.
87
+ */
88
+ type?: string;
89
+ /**
90
+ * Sets the `role` attribute of the Button.
91
+ */
92
+ role?: string;
93
+ /**
94
+ * Sets the `aria-pressed` attribute of the Button.
95
+ */
96
+ ariaPressed?: boolean;
97
+ /**
98
+ * defines the size of the SVG icon displayed inside the Button.
99
+ */
100
+ iconSize?: SvgIconProps['size'];
101
+ }
102
+ /**
103
+ * @hidden
104
+ */
105
+ export interface ButtonState {
106
+ _activeTemp?: boolean;
107
+ }
108
+ /**
109
+ * @hidden
110
+ */
111
+ export interface ButtonComputed {
112
+ [key: string]: any;
113
+ buttonClasses: object;
114
+ }
115
+ /**
116
+ * @hidden
117
+ */
118
+ export interface ButtonMethods {
119
+ [key: string]: any;
120
+ focus: (e: any) => void;
121
+ toggleIfApplicable: () => void;
122
+ handleClick: (event: any) => void;
123
+ }
124
+ /**
125
+ * @hidden
126
+ */
127
+ export interface ButtonData {
128
+ currentActive: boolean;
129
+ }
130
+ /**
131
+ * @hidden
132
+ */
133
+ declare const Button: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
134
+ ariaLabel: PropType<string>;
135
+ ariaPressed: PropType<boolean>;
136
+ title: PropType<string>;
137
+ dir: PropType<string>;
138
+ selected: {
139
+ type: PropType<boolean>;
140
+ default: any;
141
+ };
142
+ togglable: {
143
+ type: PropType<boolean>;
144
+ default: boolean;
145
+ };
146
+ icon: {
147
+ type: PropType<string>;
148
+ default: () => any;
149
+ };
150
+ svgIcon: PropType<import('@progress/kendo-vue-common').SVGIcon>;
151
+ iconSize: {
152
+ type: PropType<string>;
153
+ };
154
+ iconClass: {
155
+ type: PropType<string>;
156
+ default: () => any;
157
+ };
158
+ imageUrl: {
159
+ type: PropType<string>;
160
+ default: () => any;
161
+ };
162
+ imageAlt: PropType<string>;
163
+ disabled: {
164
+ type: PropType<boolean>;
165
+ default: any;
166
+ };
167
+ size: PropType<"small" | "medium" | "large">;
168
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
169
+ fillMode: PropType<"flat" | "link" | "solid" | "outline">;
170
+ themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
171
+ tabIndex: PropType<number>;
172
+ accessKey: PropType<string>;
173
+ id: PropType<string>;
174
+ type: PropType<string>;
175
+ role: PropType<string>;
176
+ }>, {}, {
177
+ currentActive: any;
178
+ }, {
179
+ computedSelected(): boolean;
180
+ buttonClasses(): {
181
+ [x: string]: any;
182
+ 'k-icon-button': boolean;
183
+ 'k-disabled': any;
184
+ 'k-selected': any;
185
+ 'k-rtl': boolean;
186
+ };
187
+ }, {
188
+ focus(e: any): void;
189
+ toggleIfApplicable(): void;
190
+ handleClick(event: any): void;
191
+ handleMouseDown(event: any): void;
192
+ handlePointerDown(event: any): void;
193
+ handleMouseUp(event: any): void;
194
+ handlePointerUp(event: any): void;
195
+ handleFocus(event: FocusEvent): void;
196
+ handleBlur(event: FocusEvent): void;
197
+ handleKeypress(event: any): void;
198
+ handleKeydown(event: any): void;
199
+ handleContextmenu(event: any): void;
200
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
201
+ click: (event: Event) => true;
202
+ mousedown: (event: MouseEvent) => true;
203
+ mouseup: (event: MouseEvent) => true;
204
+ pointerdown: (event: PointerEvent) => true;
205
+ pointerup: (event: PointerEvent) => true;
206
+ focus: (event: ButtonFocusEvent) => true;
207
+ blur: (event: ButtonBlurEvent) => true;
208
+ keypress: (event: KeyboardEvent) => true;
209
+ keydown: (event: KeyboardEvent) => true;
210
+ contextmenu: (event: MouseEvent) => true;
211
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
212
+ ariaLabel: PropType<string>;
213
+ ariaPressed: PropType<boolean>;
214
+ title: PropType<string>;
215
+ dir: PropType<string>;
216
+ selected: {
217
+ type: PropType<boolean>;
218
+ default: any;
219
+ };
220
+ togglable: {
221
+ type: PropType<boolean>;
222
+ default: boolean;
223
+ };
224
+ icon: {
225
+ type: PropType<string>;
226
+ default: () => any;
227
+ };
228
+ svgIcon: PropType<import('@progress/kendo-vue-common').SVGIcon>;
229
+ iconSize: {
230
+ type: PropType<string>;
231
+ };
232
+ iconClass: {
233
+ type: PropType<string>;
234
+ default: () => any;
235
+ };
236
+ imageUrl: {
237
+ type: PropType<string>;
238
+ default: () => any;
239
+ };
240
+ imageAlt: PropType<string>;
241
+ disabled: {
242
+ type: PropType<boolean>;
243
+ default: any;
244
+ };
245
+ size: PropType<"small" | "medium" | "large">;
246
+ rounded: PropType<"small" | "medium" | "large" | "full" | "none">;
247
+ fillMode: PropType<"flat" | "link" | "solid" | "outline">;
248
+ themeColor: PropType<"base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse">;
249
+ tabIndex: PropType<number>;
250
+ accessKey: PropType<string>;
251
+ id: PropType<string>;
252
+ type: PropType<string>;
253
+ role: PropType<string>;
254
+ }>> & Readonly<{
255
+ onClick?: (event: Event) => any;
256
+ onBlur?: (event: ButtonBlurEvent) => any;
257
+ onContextmenu?: (event: MouseEvent) => any;
258
+ onFocus?: (event: ButtonFocusEvent) => any;
259
+ onKeydown?: (event: KeyboardEvent) => any;
260
+ onKeypress?: (event: KeyboardEvent) => any;
261
+ onMousedown?: (event: MouseEvent) => any;
262
+ onMouseup?: (event: MouseEvent) => any;
263
+ onPointerdown?: (event: PointerEvent) => any;
264
+ onPointerup?: (event: PointerEvent) => any;
265
+ }>, {
266
+ icon: string;
267
+ selected: boolean;
268
+ disabled: boolean;
269
+ togglable: boolean;
270
+ iconClass: string;
271
+ imageUrl: string;
272
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
273
+ export { Button };
@@ -0,0 +1,58 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ButtonProps } from './Button';
9
+ import { ButtonGroupInterface } from './ButtonGroupInterface';
10
+ import { PropType } from 'vue';
11
+ /**
12
+ * Represents the props of the [Kendo UI for Vue ButtonGroup component]({% slug overview_buttongroup %}).
13
+ */
14
+ export interface ButtonGroupProps extends ButtonGroupInterface, ButtonProps {
15
+ /**
16
+ * Sets the `className` of the ButtonGroup component.
17
+ */
18
+ className?: string;
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ export interface ButtonGroupMethods {
24
+ [key: string]: any;
25
+ mapButtons: (children: any) => any;
26
+ renderButton: (child: any, index: number, isLast: boolean, isRtl: boolean) => any;
27
+ isValidButton: (child: any) => any;
28
+ }
29
+ /**
30
+ * @hidden
31
+ */
32
+ declare const ButtonGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
33
+ disabled: {
34
+ type: PropType<boolean>;
35
+ default: any;
36
+ };
37
+ width: PropType<string>;
38
+ dir: {
39
+ type: PropType<string>;
40
+ default: () => any;
41
+ };
42
+ }>, {}, {}, {}, {
43
+ isValidButton(child: any): any;
44
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
+ disabled: {
46
+ type: PropType<boolean>;
47
+ default: any;
48
+ };
49
+ width: PropType<string>;
50
+ dir: {
51
+ type: PropType<string>;
52
+ default: () => any;
53
+ };
54
+ }>> & Readonly<{}>, {
55
+ disabled: boolean;
56
+ dir: string;
57
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
58
+ export { ButtonGroup };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * Represents the properties which can be set to a ButtonGroup.
10
+ */
11
+ export interface ButtonGroupInterface {
12
+ /**
13
+ * By default, the ButtonGroup is enabled ([see example]({% slug disabledstate_buttongroup %})). To disable the whole group of buttons,
14
+ * set its `disabled` attribute to `true`. To disable a specific button, set its own `disabled` attribute to `true` and leave the `disabled` attribute of the ButtonGroup undefined.
15
+ *
16
+ * If you define the `disabled` attribute of the ButtonGroup, it will take precedence over the `disabled` attributes
17
+ * of the underlying buttons and they will be ignored.
18
+ */
19
+ disabled?: boolean;
20
+ /**
21
+ * Sets the width of the ButtonGroup.
22
+ *
23
+ * If the width of the ButtonGroup is set:
24
+ * - The buttons resize automatically to fill the full width of the group wrapper.
25
+ * - The buttons acquire the same width.
26
+ */
27
+ width?: string;
28
+ /**
29
+ * Sets the direction of the ButtonGroup ([more information](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir)).
30
+ *
31
+ * The available options are:
32
+ * * `rtl`
33
+ * * `ltr`
34
+ * * `auto`
35
+ */
36
+ dir?: string;
37
+ }
@@ -0,0 +1,57 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { SVGIcon } from '@progress/kendo-vue-common';
9
+ /**
10
+ * Inherits the native HTML Button. Represents the properties which can be set to a Button.
11
+ */
12
+ export interface ButtonInterface {
13
+ /**
14
+ * Specifies if the Button is disabled ([see example]({% slug disabled_button %})). Defaults to `false`.
15
+ */
16
+ disabled?: boolean;
17
+ /**
18
+ * Sets the aria-label of the Button.
19
+ */
20
+ ariaLabel?: string;
21
+ /**
22
+ * Sets the `title` HTML attribute of the Button.
23
+ */
24
+ title?: string;
25
+ /**
26
+ * Sets the direction of the Button.
27
+ */
28
+ dir?: string;
29
+ /**
30
+ * Sets the selected state of the Button. Can be used for controlled mode.
31
+ */
32
+ selected?: boolean;
33
+ /**
34
+ * Provides visual styling that indicates if the Button is selected ([see example]({% slug toggleable_button %})). Defaults to `false`.
35
+ */
36
+ togglable?: boolean;
37
+ /**
38
+ * Defines the name for an existing icon in a Kendo UI for Vue theme ([see example]({% slug icons_button %})). The icon is rendered inside the Button by a `span.k-icon` element.
39
+ */
40
+ icon?: string;
41
+ /**
42
+ * Defines an SVGIcon to be rendered within the button.
43
+ */
44
+ svgIcon?: SVGIcon;
45
+ /**
46
+ * Defines a CSS class&mdash;or multiple classes separated by spaces&mdash;which are applied to a `span` element inside the Button ([see example]({% slug icons_button %})). Allows the usage of custom icons.
47
+ */
48
+ iconClass?: string;
49
+ /**
50
+ * Defines a URL which is used as an `img` element inside the Button ([see example]({% slug icons_button %})). The URL can be relative or absolute. If relative, it is evaluated with relation to the URL of the web page.
51
+ */
52
+ imageUrl?: string;
53
+ /**
54
+ * Defines the alternative text of the image rendered inside the Button component.
55
+ */
56
+ imageAlt?: string;
57
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ declare const ButtonWrap: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export { ButtonWrap };