@progress/kendo-react-dropdowns 13.3.0 → 13.4.0-develop.1

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 (76) hide show
  1. package/AutoComplete/AutoComplete.d.ts +274 -0
  2. package/AutoComplete/AutoComplete.js +1 -1
  3. package/AutoComplete/AutoComplete.mjs +67 -69
  4. package/AutoComplete/AutoCompleteProps.d.ts +509 -0
  5. package/ComboBox/ComboBox.d.ts +279 -0
  6. package/ComboBox/ComboBox.js +1 -1
  7. package/ComboBox/ComboBox.mjs +281 -297
  8. package/ComboBox/ComboBoxProps.d.ts +632 -0
  9. package/DropDownList/DropDownList.d.ts +41 -0
  10. package/DropDownList/DropDownList.js +1 -1
  11. package/DropDownList/DropDownList.mjs +78 -83
  12. package/DropDownList/DropDownListProps.d.ts +594 -0
  13. package/DropDownList/models/index.d.ts +54 -0
  14. package/DropDownTree/DropDownTree.d.ts +76 -0
  15. package/DropDownTree/DropDownTree.js +1 -1
  16. package/DropDownTree/DropDownTree.mjs +6 -8
  17. package/DropDownTree/DropDownTreeProps.d.ts +506 -0
  18. package/DropDownTree/ListNoData.d.ts +13 -0
  19. package/DropDownTree/useDropdownWidth.d.ts +13 -0
  20. package/MultiColumnComboBox/MultiColumnComboBox.d.ts +299 -0
  21. package/MultiColumnComboBox/MultiColumnComboBox.js +1 -1
  22. package/MultiColumnComboBox/MultiColumnComboBox.mjs +45 -48
  23. package/MultiSelect/MultiSelect.d.ts +281 -0
  24. package/MultiSelect/MultiSelect.js +1 -1
  25. package/MultiSelect/MultiSelect.mjs +13 -15
  26. package/MultiSelect/MultiSelectProps.d.ts +592 -0
  27. package/MultiSelect/TagList.d.ts +45 -0
  28. package/MultiSelectTree/MultiSelectTree.d.ts +87 -0
  29. package/MultiSelectTree/MultiSelectTree.js +1 -1
  30. package/MultiSelectTree/MultiSelectTree.mjs +7 -7
  31. package/MultiSelectTree/MultiSelectTreeProps.d.ts +554 -0
  32. package/MultiSelectTree/utils.d.ts +24 -0
  33. package/common/AdaptiveMode.d.ts +22 -0
  34. package/common/ClearButton.d.ts +19 -0
  35. package/common/DropDownBase.d.ts +186 -0
  36. package/common/DropDownBase.js +1 -1
  37. package/common/DropDownBase.mjs +1 -1
  38. package/common/GroupStickyHeader.d.ts +26 -0
  39. package/common/GroupStickyHeader.js +1 -1
  40. package/common/GroupStickyHeader.mjs +6 -6
  41. package/common/List.d.ts +54 -0
  42. package/common/List.js +1 -1
  43. package/common/List.mjs +129 -77
  44. package/common/ListContainer.d.ts +24 -0
  45. package/common/ListDefaultItem.d.ts +22 -0
  46. package/common/ListFilter.d.ts +29 -0
  47. package/common/ListFilter.js +1 -1
  48. package/common/ListFilter.mjs +12 -12
  49. package/common/ListGroupItem.d.ts +54 -0
  50. package/common/ListGroupItem.js +1 -1
  51. package/common/ListGroupItem.mjs +21 -13
  52. package/common/ListItem.d.ts +87 -0
  53. package/common/ListItem.js +1 -1
  54. package/common/ListItem.mjs +62 -21
  55. package/common/ListItemIcon.d.ts +26 -0
  56. package/common/ListItemIcon.js +8 -0
  57. package/common/ListItemIcon.mjs +21 -0
  58. package/common/MultiColumnList.d.ts +13 -0
  59. package/common/Navigation.d.ts +20 -0
  60. package/common/SearchBar.d.ts +55 -0
  61. package/common/VirtualScrollStatic.d.ts +44 -0
  62. package/common/events.d.ts +82 -0
  63. package/common/filterDescriptor.d.ts +48 -0
  64. package/common/settings.d.ts +112 -0
  65. package/common/utils.d.ts +82 -0
  66. package/common/utils.js +1 -1
  67. package/common/utils.mjs +50 -47
  68. package/common/withCustomComponent.d.ts +12 -0
  69. package/dist/cdn/js/kendo-react-dropdowns.js +1 -1
  70. package/index.d.mts +28 -5545
  71. package/index.d.ts +28 -5545
  72. package/messages/index.d.ts +52 -0
  73. package/package-metadata.d.ts +12 -0
  74. package/package-metadata.js +1 -1
  75. package/package-metadata.mjs +10 -16
  76. package/package.json +10 -10
@@ -0,0 +1,506 @@
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 { FormComponentProps } from '@progress/kendo-react-common';
9
+ import { ItemRenderProps } from '@progress/kendo-react-treeview';
10
+ import { FilterChangeEvent, ChangeEvent, OpenEvent, CloseEvent, FocusEvent, BlurEvent, DropdownEvent } from '../common/events.js';
11
+ import { DropDownsPopupSettings } from '../common/settings.js';
12
+ /**
13
+ * Represents the Object which is passed to the
14
+ * [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the DropDownTree component.
15
+ */
16
+ export interface DropDownTreeHandle {
17
+ /**
18
+ * The current element or `null` if there is no one.
19
+ */
20
+ element: HTMLElement | null;
21
+ /**
22
+ * The props of the DropDownTree component.
23
+ */
24
+ props: DropDownTreeProps;
25
+ /**
26
+ * The focus function.
27
+ */
28
+ focus: () => void;
29
+ }
30
+ /**
31
+ * Represents the object of the `onFilterChange` DropDownTree event.
32
+ */
33
+ export interface DropDownTreeFilterChangeEvent extends FilterChangeEvent<DropDownTreeHandle> {
34
+ }
35
+ /**
36
+ * Represents the object of the `onChange` DropDownTree event.
37
+ */
38
+ export interface DropDownTreeChangeEvent extends ChangeEvent<DropDownTreeHandle> {
39
+ /**
40
+ * The hierarchical index path to the selected item.
41
+ */
42
+ level: number[];
43
+ }
44
+ /**
45
+ * Represents the object of the `onOpen` DropDownTree event.
46
+ */
47
+ export interface DropDownTreeOpenEvent extends OpenEvent<DropDownTreeHandle> {
48
+ }
49
+ /**
50
+ * Represents the object of the `onClose` DropDownTree event.
51
+ */
52
+ export interface DropDownTreeCloseEvent extends CloseEvent<DropDownTreeHandle> {
53
+ }
54
+ /**
55
+ * Represents the object of the `onFocus` DropDownTree event.
56
+ */
57
+ export interface DropDownTreeFocusEvent extends FocusEvent<DropDownTreeHandle> {
58
+ }
59
+ /**
60
+ * Represents the object of the `onBlur` DropDownTree event.
61
+ */
62
+ export interface DropDownTreeBlurEvent extends BlurEvent<DropDownTreeHandle> {
63
+ }
64
+ /**
65
+ * Represents the object of the `onExpandChange` DropDownTree event.
66
+ */
67
+ export interface DropDownTreeExpandEvent extends DropdownEvent<DropDownTreeHandle> {
68
+ /**
69
+ * The data item that was expanded or collapsed.
70
+ */
71
+ item: any;
72
+ /**
73
+ * The hierarchical index path to the item.
74
+ */
75
+ level: number[];
76
+ }
77
+ /**
78
+ * The props of component that will be used for rendering each of the DropDownTree items
79
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/custom-rendering#toc-items-and-value-element)).
80
+ */
81
+ export interface ItemProps extends ItemRenderProps {
82
+ }
83
+ /**
84
+ * The props of the `ListNoData` component ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/custom-rendering#toc-no-data)).
85
+ */
86
+ export interface ListNoDataProps {
87
+ /**
88
+ * The child components to render when no data is available.
89
+ */
90
+ children?: React.ReactNode;
91
+ }
92
+ /**
93
+ * The props of the `ValueHolder` component ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/custom-rendering#toc-items-and-value-element)).
94
+ */
95
+ export interface ValueHolderProps {
96
+ /**
97
+ * The child components of the ValueHolder.
98
+ */
99
+ children?: React.ReactNode;
100
+ /**
101
+ * The data item that represents the selected value.
102
+ */
103
+ item?: any;
104
+ }
105
+ /**
106
+ * Represents the props of the [KendoReact DropDownTree component](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree).
107
+ */
108
+ export interface DropDownTreeProps extends FormComponentProps {
109
+ /**
110
+ * Sets the data of the DropDownTree ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree)).
111
+ *
112
+ * @example
113
+ * ```jsx
114
+ * <DropDownTree data={[{ text: 'Parent', items: [{ text: 'Child' }] }]} />
115
+ * ```
116
+ */
117
+ data?: any[];
118
+ /**
119
+ * Sets the opened state of the DropDownTree.
120
+ *
121
+ * @example
122
+ * ```jsx
123
+ * <DropDownTree opened={true} />
124
+ * ```
125
+ */
126
+ opened?: boolean;
127
+ /**
128
+ * The styles that are applied to the DropDownTree.
129
+ *
130
+ * @example
131
+ * ```jsx
132
+ * <DropDownTree style={{ width: '300px' }} />
133
+ * ```
134
+ */
135
+ style?: React.CSSProperties;
136
+ /**
137
+ * Sets the value of the DropDownTree ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree)).
138
+ * It can be an object from the data-tree.
139
+ *
140
+ * @example
141
+ * ```jsx
142
+ * <DropDownTree value={{ text: 'Parent' }} />
143
+ * ```
144
+ */
145
+ value?: any;
146
+ /**
147
+ * The hint that is displayed when the DropDownTree is empty.
148
+ *
149
+ * @example
150
+ * ```jsx
151
+ * <DropDownTree placeholder="Select an item" />
152
+ * ```
153
+ */
154
+ placeholder?: string;
155
+ /**
156
+ * Sets the key for comparing the data items of the DropDownTree ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree)).
157
+ * If `dataItemKey` is not set, the DropDownTree compares the items by reference.
158
+ *
159
+ * @example
160
+ * ```jsx
161
+ * <DropDownTree dataItemKey="id" />
162
+ * ```
163
+ */
164
+ dataItemKey: string;
165
+ /**
166
+ * Sets additional classes to the DropDownTree.
167
+ *
168
+ * @example
169
+ * ```jsx
170
+ * <DropDownTree className="custom-class" />
171
+ * ```
172
+ */
173
+ className?: string;
174
+ /**
175
+ * Sets the disabled state of the DropDownTree.
176
+ *
177
+ * @example
178
+ * ```jsx
179
+ * <DropDownTree disabled={true} />
180
+ * ```
181
+ */
182
+ disabled?: boolean;
183
+ /**
184
+ * Represents the `dir` HTML attribute.
185
+ *
186
+ * @example
187
+ * ```jsx
188
+ * <DropDownTree dir="rtl" />
189
+ * ```
190
+ */
191
+ dir?: string;
192
+ /**
193
+ * Renders a floating label for the DropDownTree.
194
+ *
195
+ * @example
196
+ * ```jsx
197
+ * <DropDownTree label="Select an item" />
198
+ * ```
199
+ */
200
+ label?: string;
201
+ /**
202
+ * Specifies the id of the component.
203
+ *
204
+ * @example
205
+ * ```jsx
206
+ * <DropDownTree id="dropdown-tree" />
207
+ * ```
208
+ */
209
+ id?: string;
210
+ /**
211
+ * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
212
+ * For example these elements could contain error or hint message.
213
+ *
214
+ * @example
215
+ * ```jsx
216
+ * <DropDownTree ariaDescribedBy="description" />
217
+ * ```
218
+ */
219
+ ariaDescribedBy?: string;
220
+ /**
221
+ * Identifies the element(s) which will label the component.
222
+ *
223
+ * @example
224
+ * ```jsx
225
+ * <DropDownTree ariaLabelledBy="label" />
226
+ * ```
227
+ */
228
+ ariaLabelledBy?: string;
229
+ /**
230
+ * Enables the filtering functionality of the DropDownTree ([more information and examples](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/filtering)).
231
+ *
232
+ * @example
233
+ * ```jsx
234
+ * <DropDownTree filterable={true} />
235
+ * ```
236
+ */
237
+ filterable?: boolean;
238
+ /**
239
+ * Sets the value of filtering input.
240
+ * Useful for making the filtering input a [controlled component](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
241
+ *
242
+ * @example
243
+ * ```jsx
244
+ * <DropDownTree filter="search text" />
245
+ * ```
246
+ */
247
+ filter?: string;
248
+ /**
249
+ * Sets the loading state of the DropDownTree ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/filtering#toc-visualize-filtering)).
250
+ *
251
+ * @example
252
+ * ```jsx
253
+ * <DropDownTree loading={true} />
254
+ * ```
255
+ */
256
+ loading?: boolean;
257
+ /**
258
+ * Specifies the `tabIndex` of the DropDownTree.
259
+ *
260
+ * @example
261
+ * ```jsx
262
+ * <DropDownTree tabIndex={0} />
263
+ * ```
264
+ */
265
+ tabIndex?: number;
266
+ /**
267
+ * Specifies the `accessKey` of the DropDownTree.
268
+ *
269
+ * @example
270
+ * ```jsx
271
+ * <DropDownTree accessKey="k" />
272
+ * ```
273
+ */
274
+ accessKey?: string;
275
+ /**
276
+ * Sets the data item field that represents the item text ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree)).
277
+ *
278
+ * @example
279
+ * ```jsx
280
+ * <DropDownTree textField="name" />
281
+ * ```
282
+ */
283
+ textField: string;
284
+ /**
285
+ * Specifies the name of the field which will provide a Boolean representation of the selected state of the item.
286
+ *
287
+ * @example
288
+ * ```jsx
289
+ * <DropDownTree selectField="selected" />
290
+ * ```
291
+ */
292
+ selectField?: string;
293
+ /**
294
+ * Specifies the name of the field which will provide a Boolean representation of the expanded state of the item.
295
+ *
296
+ * @example
297
+ * ```jsx
298
+ * <DropDownTree expandField="expanded" />
299
+ * ```
300
+ */
301
+ expandField?: string;
302
+ /**
303
+ * Specifies the name of the field which will provide an array representation of the item subitems.
304
+ * Defaults to 'items'.
305
+ *
306
+ * @example
307
+ * ```jsx
308
+ * <DropDownTree subItemsField="children" />
309
+ * ```
310
+ */
311
+ subItemsField?: string;
312
+ /**
313
+ * Configures the popup of the DropDownTree.
314
+ *
315
+ * @example
316
+ * ```jsx
317
+ * <DropDownTree popupSettings={{ animate: false }} />
318
+ * ```
319
+ */
320
+ popupSettings?: DropDownsPopupSettings;
321
+ /**
322
+ * Represents a callback function, which returns the value for submitting. The returned value will be rendered in an `option` of a hidden [`select`](https://react.dev/reference/react-dom/components/select) element.
323
+ *
324
+ * @example
325
+ * ```jsx
326
+ * <DropDownTree valueMap={value => value && value.id} />
327
+ * ```
328
+ */
329
+ valueMap?: (value: any) => any;
330
+ /**
331
+ * Fires each time the popup of the DropDownTree is about to open.
332
+ *
333
+ * @example
334
+ * ```jsx
335
+ * <DropDownTree onOpen={(event) => console.log(event)} />
336
+ * ```
337
+ */
338
+ onOpen?: (event: DropDownTreeOpenEvent) => void;
339
+ /**
340
+ * Fires each time the popup of the DropDownTree is about to close.
341
+ *
342
+ * @example
343
+ * ```jsx
344
+ * <DropDownTree onClose={(event) => console.log(event)} />
345
+ * ```
346
+ */
347
+ onClose?: (event: DropDownTreeCloseEvent) => void;
348
+ /**
349
+ * Fires each time the user focuses the DropDownTree.
350
+ *
351
+ * @example
352
+ * ```jsx
353
+ * <DropDownTree onFocus={(event) => console.log(event)} />
354
+ * ```
355
+ */
356
+ onFocus?: (event: DropDownTreeFocusEvent) => void;
357
+ /**
358
+ * Fires each time the DropDownTree gets blurred.
359
+ *
360
+ * @example
361
+ * ```jsx
362
+ * <DropDownTree onBlur={(event) => console.log(event)} />
363
+ * ```
364
+ */
365
+ onBlur?: (event: DropDownTreeBlurEvent) => void;
366
+ /**
367
+ * Fires each time the value of the DropDownTree is about to change ([see examples](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree)).
368
+ *
369
+ * @example
370
+ * ```jsx
371
+ * <DropDownTree onChange={(event) => console.log(event)} />
372
+ * ```
373
+ */
374
+ onChange?: (event: DropDownTreeChangeEvent) => void;
375
+ /**
376
+ * Fires each time the user types in the filter input
377
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/filtering#toc-basic-configuration)).
378
+ * You can filter the source based on the passed filtration value.
379
+ *
380
+ * @example
381
+ * ```jsx
382
+ * <DropDownTree onFilterChange={(event) => console.log(event)} />
383
+ * ```
384
+ */
385
+ onFilterChange?: (event: DropDownTreeFilterChangeEvent) => void;
386
+ /**
387
+ * Fires when the expanding or collapsing of an item is requested ([see examples](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree)).
388
+ *
389
+ * @example
390
+ * ```jsx
391
+ * <DropDownTree onExpandChange={(event) => console.log(event)} />
392
+ * ```
393
+ */
394
+ onExpandChange?: (event: any) => void;
395
+ /**
396
+ * Defines the component that will be used for rendering each of the DropDownTree items
397
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/custom-rendering#toc-items-and-value-element)).
398
+ *
399
+ * @example
400
+ * ```jsx
401
+ * <DropDownTree item={(props) => <CustomItem {...props} />} />
402
+ * ```
403
+ */
404
+ item?: React.ComponentType<ItemProps>;
405
+ /**
406
+ * Defines the component that will be used for rendering the selected value
407
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/custom-rendering#toc-items-and-value-element)).
408
+ *
409
+ * @example
410
+ * ```jsx
411
+ * <DropDownTree valueHolder={(props) => <CustomValueHolder {...props} />} />
412
+ * ```
413
+ */
414
+ valueHolder?: React.ComponentType<ValueHolderProps>;
415
+ /**
416
+ * Defines the component that will be rendered in the DropDownTree popup when no data is available
417
+ * ([see example](https://www.telerik.com/kendo-react-ui/components/dropdowns/dropdowntree/custom-rendering#toc-no-data)).
418
+ *
419
+ * @example
420
+ * ```jsx
421
+ * <DropDownTree listNoData={() => <div>No data available</div>} />
422
+ * ```
423
+ */
424
+ listNoData?: React.ComponentType<ListNoDataProps>;
425
+ /**
426
+ * Configures the `size` of the DropDownTree.
427
+ *
428
+ * The available options are:
429
+ * - small
430
+ * - medium
431
+ * - large
432
+ *
433
+ * @default undefined (theme-controlled)
434
+ *
435
+ * @example
436
+ * ```jsx
437
+ * <DropDownTree size="large" />
438
+ * ```
439
+ */
440
+ size?: 'small' | 'medium' | 'large';
441
+ /**
442
+ * Configures the `roundness` of the DropDownTree.
443
+ *
444
+ * The available options are:
445
+ * - small
446
+ * - medium
447
+ * - large
448
+ * - full
449
+ *
450
+ * @default undefined (theme-controlled)
451
+ *
452
+ * @example
453
+ * ```jsx
454
+ * <DropDownTree rounded="full" />
455
+ * ```
456
+ */
457
+ rounded?: 'small' | 'medium' | 'large' | 'full';
458
+ /**
459
+ * Configures the `fillMode` of the DropDownTree.
460
+ *
461
+ * The available options are:
462
+ * - solid
463
+ * - flat
464
+ * - outline
465
+ *
466
+ * @default undefined (theme-controlled)
467
+ *
468
+ * @example
469
+ * ```jsx
470
+ * <DropDownTree fillMode="flat" />
471
+ * ```
472
+ */
473
+ fillMode?: 'solid' | 'flat' | 'outline';
474
+ /**
475
+ * Providing different rendering of the popup element based on the screen dimensions.
476
+ *
477
+ * @default `false`
478
+ *
479
+ * @example
480
+ * ```jsx
481
+ * <DropDownTree adaptive={true} />
482
+ * ```
483
+ */
484
+ adaptive?: boolean;
485
+ /**
486
+ * Specifies the text that is rendered as title in the adaptive popup(action sheet).
487
+ * Applicable only when `adaptive` is set to `true`.
488
+ * If not provided, the title will be the same as the label.
489
+ *
490
+ * @example
491
+ * ```jsx
492
+ * <DropDownTree adaptiveTitle="Adaptive Popup Title" />
493
+ * ```
494
+ */
495
+ adaptiveTitle?: string;
496
+ /**
497
+ * Specifies the text that is rendered as subtitle in the adaptive popup(action sheet).
498
+ * Applicable only when `adaptive` is set to `true`.
499
+ *
500
+ * @example
501
+ * ```jsx
502
+ * <DropDownTree adaptiveSubtitle="Adaptive Popup Subtitle" />
503
+ * ```
504
+ */
505
+ adaptiveSubtitle?: string;
506
+ }
@@ -0,0 +1,13 @@
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 { ListNoDataProps } from './DropDownTreeProps.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare const ListNoData: React.FunctionComponent<ListNoDataProps>;
@@ -0,0 +1,13 @@
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 { DropDownsPopupSettings } from '../common/settings.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare function useDropdownWidth(elementRef: React.RefObject<HTMLElement | null>, defaultProps: any, popupSettings: DropDownsPopupSettings, style: React.CSSProperties): string | number | undefined;