@progress/kendo-react-dropdowns 4.14.1 → 5.0.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 (71) hide show
  1. package/dist/cdn/js/kendo-react-dropdowns.js +1 -1
  2. package/dist/es/AutoComplete/AutoComplete.d.ts +7 -4
  3. package/dist/es/AutoComplete/AutoComplete.js +30 -19
  4. package/dist/es/AutoComplete/AutoCompleteProps.d.ts +37 -0
  5. package/dist/es/ComboBox/ComboBox.d.ts +8 -1
  6. package/dist/es/ComboBox/ComboBox.js +46 -33
  7. package/dist/es/ComboBox/ComboBoxProps.d.ts +37 -0
  8. package/dist/es/DropDownList/DropDownList.d.ts +6 -8
  9. package/dist/es/DropDownList/DropDownList.js +56 -48
  10. package/dist/es/DropDownList/DropDownListProps.d.ts +37 -0
  11. package/dist/es/DropDownTree/DropDownTree.js +44 -24
  12. package/dist/es/DropDownTree/DropDownTreeProps.d.ts +37 -0
  13. package/dist/es/MultiColumnComboBox/MultiColumnComboBox.d.ts +37 -0
  14. package/dist/es/MultiColumnComboBox/MultiColumnComboBox.js +23 -12
  15. package/dist/es/MultiSelect/MultiSelect.d.ts +8 -5
  16. package/dist/es/MultiSelect/MultiSelect.js +51 -32
  17. package/dist/es/MultiSelect/MultiSelectProps.d.ts +38 -1
  18. package/dist/es/MultiSelect/TagList.d.ts +2 -1
  19. package/dist/es/MultiSelect/TagList.js +10 -15
  20. package/dist/es/MultiSelectTree/MultiSelectTree.js +42 -29
  21. package/dist/es/MultiSelectTree/MultiSelectTreeProps.d.ts +37 -0
  22. package/dist/es/common/ClearButton.js +2 -1
  23. package/dist/es/common/DropDownBase.d.ts +2 -3
  24. package/dist/es/common/DropDownBase.js +2 -16
  25. package/dist/es/common/List.d.ts +1 -0
  26. package/dist/es/common/List.js +3 -2
  27. package/dist/es/common/ListDefaultItem.js +2 -2
  28. package/dist/es/common/ListFilter.d.ts +5 -0
  29. package/dist/es/common/ListFilter.js +12 -3
  30. package/dist/es/common/ListItem.js +5 -5
  31. package/dist/es/common/MultiColumnList.js +1 -1
  32. package/dist/es/common/SearchBar.d.ts +1 -4
  33. package/dist/es/common/SearchBar.js +2 -8
  34. package/dist/es/common/VirtualScroll.js +3 -2
  35. package/dist/es/package-metadata.js +1 -1
  36. package/dist/npm/AutoComplete/AutoComplete.d.ts +7 -4
  37. package/dist/npm/AutoComplete/AutoComplete.js +29 -18
  38. package/dist/npm/AutoComplete/AutoCompleteProps.d.ts +37 -0
  39. package/dist/npm/ComboBox/ComboBox.d.ts +8 -1
  40. package/dist/npm/ComboBox/ComboBox.js +45 -32
  41. package/dist/npm/ComboBox/ComboBoxProps.d.ts +37 -0
  42. package/dist/npm/DropDownList/DropDownList.d.ts +6 -8
  43. package/dist/npm/DropDownList/DropDownList.js +55 -47
  44. package/dist/npm/DropDownList/DropDownListProps.d.ts +37 -0
  45. package/dist/npm/DropDownTree/DropDownTree.js +43 -23
  46. package/dist/npm/DropDownTree/DropDownTreeProps.d.ts +37 -0
  47. package/dist/npm/MultiColumnComboBox/MultiColumnComboBox.d.ts +37 -0
  48. package/dist/npm/MultiColumnComboBox/MultiColumnComboBox.js +22 -11
  49. package/dist/npm/MultiSelect/MultiSelect.d.ts +8 -5
  50. package/dist/npm/MultiSelect/MultiSelect.js +50 -31
  51. package/dist/npm/MultiSelect/MultiSelectProps.d.ts +38 -1
  52. package/dist/npm/MultiSelect/TagList.d.ts +2 -1
  53. package/dist/npm/MultiSelect/TagList.js +10 -15
  54. package/dist/npm/MultiSelectTree/MultiSelectTree.js +40 -27
  55. package/dist/npm/MultiSelectTree/MultiSelectTreeProps.d.ts +37 -0
  56. package/dist/npm/common/ClearButton.js +2 -1
  57. package/dist/npm/common/DropDownBase.d.ts +2 -3
  58. package/dist/npm/common/DropDownBase.js +2 -16
  59. package/dist/npm/common/List.d.ts +1 -0
  60. package/dist/npm/common/List.js +3 -2
  61. package/dist/npm/common/ListDefaultItem.js +2 -2
  62. package/dist/npm/common/ListFilter.d.ts +5 -0
  63. package/dist/npm/common/ListFilter.js +12 -3
  64. package/dist/npm/common/ListItem.js +5 -5
  65. package/dist/npm/common/MultiColumnList.js +1 -1
  66. package/dist/npm/common/SearchBar.d.ts +1 -4
  67. package/dist/npm/common/SearchBar.js +2 -8
  68. package/dist/npm/common/VirtualScroll.js +3 -2
  69. package/dist/npm/package-metadata.js +1 -1
  70. package/dist/systemjs/kendo-react-dropdowns.js +1 -1
  71. package/package.json +19 -13
@@ -12,6 +12,8 @@ var __extends = (this && this.__extends) || (function () {
12
12
  };
13
13
  })();
14
14
  import * as React from 'react';
15
+ import { kendoThemeMaps, classNames } from '@progress/kendo-react-common';
16
+ var sizeMap = kendoThemeMaps.sizeMap, roundedMap = kendoThemeMaps.roundedMap;
15
17
  /**
16
18
  * @hidden
17
19
  */
@@ -22,9 +24,16 @@ var ListFilter = /** @class */ (function (_super) {
22
24
  }
23
25
  ListFilter.prototype.render = function () {
24
26
  var _this = this;
25
- return (React.createElement("span", { className: "k-list-filter" },
26
- React.createElement("input", { ref: function (input) { return _this.input = input; }, value: this.props.value || '', className: "k-textbox", onChange: this.props.onChange, onKeyDown: this.props.onKeyDown }),
27
- React.createElement("span", { className: "k-icon k-i-search" })));
27
+ var _a;
28
+ var _b = this.props, size = _b.size, rounded = _b.rounded, fillMode = _b.fillMode, inputRef = _b.inputRef;
29
+ return (React.createElement("div", { className: "k-list-filter" },
30
+ React.createElement("span", { className: classNames('k-searchbox k-input', (_a = {},
31
+ _a["k-input-" + (sizeMap[size] || size)] = size,
32
+ _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
33
+ _a["k-input-" + fillMode] = fillMode,
34
+ _a)) },
35
+ React.createElement("span", { className: "k-input-icon k-icon k-i-search" }),
36
+ React.createElement("input", { ref: inputRef ? inputRef : function (input) { return _this.input = input; }, value: this.props.value || '', className: "k-input-inner", onChange: this.props.onChange, onKeyDown: this.props.onKeyDown, tabIndex: this.props.tabIndex, onClick: function (e) { return e.stopPropagation(); } }))));
28
37
  };
29
38
  return ListFilter;
30
39
  }(React.Component));
@@ -27,12 +27,12 @@ var ListItem = /** @class */ (function (_super) {
27
27
  }
28
28
  ListItem.prototype.render = function () {
29
29
  var _a = this.props, selected = _a.selected, group = _a.group, dataItem = _a.dataItem, renderer = _a.render;
30
- var item = (React.createElement("li", { id: this.props.id, role: "option", "aria-selected": selected, className: classNames('k-item', {
31
- 'k-state-selected': selected,
32
- 'k-state-focused': this.props.focused,
30
+ var item = (React.createElement("li", { id: this.props.id, role: "option", "aria-selected": selected, className: classNames('k-list-item', {
31
+ 'k-selected': selected,
32
+ 'k-focus': this.props.focused,
33
33
  'k-first': Boolean(group)
34
- }), onClick: this.handleClick },
35
- getItemValue(dataItem, this.props.textField).toString(),
34
+ }), onClick: this.handleClick, style: { position: 'unset' } },
35
+ React.createElement("span", { className: 'k-list-item-text' }, getItemValue(dataItem, this.props.textField).toString()),
36
36
  group !== undefined ? React.createElement("div", { className: "k-group" }, group) : null));
37
37
  return renderer !== undefined ? renderer.call(undefined, item, this.props) : item;
38
38
  };
@@ -15,5 +15,5 @@ import List from './List';
15
15
  * @hidden
16
16
  */
17
17
  export var MultiColumnList = function (props) {
18
- return React.createElement(List, __assign({}, props, { listClassName: "k-grid-list" }));
18
+ return (React.createElement(List, __assign({}, props, { wrapperCssClass: "k-table-scroller", listClassName: "k-table k-table-list", listStyle: __assign({}, props.listStyle) })));
19
19
  };
@@ -22,9 +22,6 @@ export interface SearchBarProps {
22
22
  role?: string;
23
23
  name?: string;
24
24
  activedescendant?: string;
25
- clearButton?: boolean;
26
- clearButtonClick?: React.MouseEventHandler<HTMLSpanElement>;
27
- loading?: boolean;
28
25
  accessKey?: string;
29
26
  ariaLabelledBy?: string;
30
27
  ariaDescribedBy?: string;
@@ -39,5 +36,5 @@ export default class SearchBar extends React.Component<SearchBarProps> {
39
36
  */
40
37
  readonly input: HTMLInputElement | null;
41
38
  componentDidUpdate(prevProps: SearchBarProps): void;
42
- render(): any[];
39
+ render(): any;
43
40
  }
@@ -12,7 +12,6 @@ var __extends = (this && this.__extends) || (function () {
12
12
  };
13
13
  })();
14
14
  import * as React from 'react';
15
- import ClearButton from './ClearButton';
16
15
  /**
17
16
  * @hidden
18
17
  */
@@ -49,13 +48,8 @@ var SearchBar = /** @class */ (function (_super) {
49
48
  SearchBar.prototype.render = function () {
50
49
  var _this = this;
51
50
  var _a = this.props, _b = _a.expanded, expanded = _b === void 0 ? false : _b, disabled = _a.disabled, _c = _a.role, role = _c === void 0 ? 'listbox' : _c, render = _a.render;
52
- var searchbar = (React.createElement("span", { className: "k-searchbar", key: "searchbar" },
53
- React.createElement("input", { autoComplete: "off", id: this.props.id, type: "text", size: this.props.size, placeholder: this.props.placeholder, className: "k-input", tabIndex: this.props.tabIndex, accessKey: this.props.accessKey, role: role, name: this.props.name, value: this.props.value, onChange: this.props.onChange, ref: function (input) { return _this._input = input; }, onKeyDown: this.props.onKeyDown, onFocus: this.props.onFocus, onBlur: this.props.onBlur, "aria-disabled": disabled || undefined, disabled: disabled || undefined, readOnly: this.props.readOnly || undefined, "aria-haspopup": "listbox", "aria-expanded": expanded, "aria-owns": this.props.owns, "aria-activedescendant": expanded ? this.props.activedescendant : undefined, "aria-describedby": this.props.ariaDescribedBy, "aria-labelledby": this.props.ariaLabelledBy })));
54
- return [
55
- (render ? render.call(undefined, searchbar) : searchbar),
56
- !this.props.loading && this.props.clearButton && React.createElement(ClearButton, { onClick: this.props.clearButtonClick, key: "clearbutton" }),
57
- this.props.loading && React.createElement("span", { className: "k-icon k-i-loading", key: "loading" })
58
- ];
51
+ var searchbar = (React.createElement("input", { autoComplete: "off", id: this.props.id, type: "text", key: "searchbar", size: this.props.size, placeholder: this.props.placeholder, className: "k-input-inner", tabIndex: this.props.tabIndex, accessKey: this.props.accessKey, role: role, name: this.props.name, value: this.props.value, onChange: this.props.onChange, ref: function (input) { return _this._input = input; }, onKeyDown: this.props.onKeyDown, onFocus: this.props.onFocus, onBlur: this.props.onBlur, "aria-disabled": disabled || undefined, disabled: disabled || undefined, readOnly: this.props.readOnly || undefined, "aria-haspopup": "listbox", "aria-expanded": expanded, "aria-owns": this.props.owns, "aria-activedescendant": expanded ? this.props.activedescendant : undefined, "aria-describedby": this.props.ariaDescribedBy, "aria-labelledby": this.props.ariaLabelledBy }));
52
+ return render ? render.call(undefined, searchbar) : searchbar;
59
53
  };
60
54
  return SearchBar;
61
55
  }(React.Component));
@@ -69,7 +69,7 @@ var VirtualScroll = /** @class */ (function () {
69
69
  if (this.container && this.list) {
70
70
  this.calcScrollElementHeight();
71
71
  this.container.scrollTop = this.container.scrollHeight - this.container.offsetHeight;
72
- this.translateTo(this.container.scrollHeight - this.list.offsetHeight);
72
+ this.translateTo(this.container.scrollHeight); // - this.list.offsetHeight
73
73
  }
74
74
  };
75
75
  VirtualScroll.prototype.localScrollUp = function (e) {
@@ -148,7 +148,8 @@ var VirtualScroll = /** @class */ (function () {
148
148
  };
149
149
  VirtualScroll.prototype.validateTranslate = function (translate) {
150
150
  translate = Math.max(0, translate);
151
- translate = Math.min(this.containerHeight - this.list.offsetHeight, translate);
151
+ // translate = Math.min(this.containerHeight - this.list!.offsetHeight, translate);
152
+ translate = Math.min(this.containerHeight, translate);
152
153
  return translate;
153
154
  };
154
155
  return VirtualScroll;
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-dropdowns',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1642516308,
8
+ publishDate: 1642764912,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -24,6 +24,9 @@ export declare class AutoCompleteWithoutContext extends React.Component<AutoComp
24
24
  * @hidden
25
25
  */
26
26
  static propTypes: {
27
+ size: PropTypes.Requireable<"small" | "medium" | "large">;
28
+ rounded: PropTypes.Requireable<"small" | "medium" | "large" | "full">;
29
+ fillMode: PropTypes.Requireable<"solid" | "flat" | "outline">;
27
30
  suggest: PropTypes.Requireable<string | boolean>;
28
31
  placeholder: PropTypes.Requireable<string>;
29
32
  value: PropTypes.Requireable<string>;
@@ -53,11 +56,8 @@ export declare class AutoCompleteWithoutContext extends React.Component<AutoComp
53
56
  }>>;
54
57
  popupClass: PropTypes.Requireable<string>;
55
58
  className: PropTypes.Requireable<string>;
56
- appendTo: PropTypes.Requireable<any>;
59
+ appendTo: PropTypes.Requireable<PropTypes.ReactElementLike>;
57
60
  width: PropTypes.Requireable<string | number>;
58
- /**
59
- * @hidden
60
- */
61
61
  height: PropTypes.Requireable<string | number>;
62
62
  }>>;
63
63
  onOpen: PropTypes.Requireable<(...args: any[]) => any>;
@@ -75,6 +75,9 @@ export declare class AutoCompleteWithoutContext extends React.Component<AutoComp
75
75
  * @hidden
76
76
  */
77
77
  static defaultProps: {
78
+ size: "small" | "medium" | "large";
79
+ rounded: "small" | "medium" | "large" | "full";
80
+ fillMode: "solid" | "flat" | "outline";
78
81
  popupSettings: {
79
82
  height: string;
80
83
  };
@@ -35,7 +35,9 @@ var kendo_react_common_1 = require("@progress/kendo-react-common");
35
35
  var kendo_react_labels_1 = require("@progress/kendo-react-labels");
36
36
  var kendo_react_common_2 = require("@progress/kendo-react-common");
37
37
  var package_metadata_1 = require("../package-metadata");
38
+ var ClearButton_1 = require("../common/ClearButton");
38
39
  var VALIDATION_MESSAGE = 'Please enter a valid value!';
40
+ var sizeMap = kendo_react_common_1.kendoThemeMaps.sizeMap, roundedMap = kendo_react_common_1.kendoThemeMaps.roundedMap;
39
41
  /** @hidden */
40
42
  var AutoCompleteWithoutContext = /** @class */ (function (_super) {
41
43
  __extends(AutoCompleteWithoutContext, _super);
@@ -290,9 +292,9 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
290
292
  */
291
293
  AutoCompleteWithoutContext.prototype.render = function () {
292
294
  var _this = this;
293
- var _a = this.props, dir = _a.dir, disabled = _a.disabled, label = _a.label, className = _a.className, style = _a.style, loading = _a.loading, suggest = _a.suggest;
295
+ var _a;
296
+ var _b = this.props, dir = _b.dir, disabled = _b.disabled, label = _b.label, className = _b.className, style = _b.style, loading = _b.loading, suggest = _b.suggest, size = _b.size, rounded = _b.rounded, fillMode = _b.fillMode;
294
297
  var isValid = !this.validityStyles || this.validity.valid;
295
- var focused = this.state.focused;
296
298
  var base = this.base;
297
299
  var value = this.value;
298
300
  var renderClearButton = this.props.clearButton !== false && !loading && !!value;
@@ -300,18 +302,24 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
300
302
  if (typeof suggest === 'string') {
301
303
  this._suggested = suggest;
302
304
  }
303
- var autoComplete = (React.createElement("span", { className: kendo_react_common_1.classNames('k-widget k-autocomplete', className, {
304
- 'k-state-disabled': disabled,
305
- 'k-state-focused': focused && !disabled,
306
- 'k-state-invalid': !isValid
307
- }), ref: function (element) {
305
+ var autoComplete = (React.createElement("span", { className: kendo_react_common_1.classNames('k-autocomplete k-input', className, (_a = {},
306
+ _a["k-input-" + (sizeMap[size] || size)] = size,
307
+ _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
308
+ _a["k-input-" + fillMode] = fillMode,
309
+ _a['k-valid'] = isValid,
310
+ _a['k-invalid'] = !isValid,
311
+ _a['k-loading'] = loading,
312
+ _a['k-required'] = this.required,
313
+ _a['k-disabled'] = disabled,
314
+ _a)), ref: function (element) {
308
315
  _this._element = element;
309
316
  base.wrapper = element;
310
317
  }, style: !label
311
318
  ? style
312
319
  : __assign({}, style, { width: undefined }), dir: dir },
313
- this.renderSearchBar(renderClearButton, value || '', id),
320
+ this.renderSearchBar(value || '', id),
314
321
  loading && React.createElement("span", { className: "k-icon k-i-loading" }),
322
+ renderClearButton && !loading && React.createElement(ClearButton_1.default, { onClick: this.clearButtonClick, key: "clearbutton" }),
315
323
  this.renderListContainer()));
316
324
  return label
317
325
  ? (React.createElement(kendo_react_labels_1.FloatingLabel, { label: label, editorId: id, editorValue: value, editorValid: isValid, editorDisabled: disabled, style: { width: style ? style.width : undefined }, children: autoComplete }))
@@ -355,17 +363,18 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
355
363
  }
356
364
  this.applyState(state);
357
365
  };
358
- AutoCompleteWithoutContext.prototype.renderSearchBar = function (clearButton, value, id) {
366
+ AutoCompleteWithoutContext.prototype.renderSearchBar = function (value, id) {
359
367
  var _this = this;
360
368
  var base = this.base;
361
369
  var _a = this.props, placeholder = _a.placeholder, tabIndex = _a.tabIndex, disabled = _a.disabled, readonly = _a.readonly;
362
370
  var focused = this.state.focused;
363
371
  var opened = this.props.opened !== undefined ? this.props.opened : this.state.opened;
364
- return (React.createElement(SearchBar_1.default, { id: id, placeholder: placeholder, tabIndex: tabIndex || undefined, accessKey: this.props.accessKey, value: value, suggestedText: this._suggested, focused: focused, name: this.props.name, ref: function (searchbar) { return _this._input = searchbar && searchbar.input; }, onKeyDown: this.onInputKeyDown, onChange: this.onChangeHandler, onFocus: base.handleFocus, onBlur: this.handleBlur, disabled: disabled, readOnly: readonly, expanded: opened, owns: base.listBoxId, activedescendant: 'option-' + base.guid + '-' + this.focusedIndex(), role: "combobox", clearButton: clearButton, clearButtonClick: this.clearButtonClick, ariaLabelledBy: this.props.ariaLabelledBy, ariaDescribedBy: this.props.ariaDescribedBy, render: this.props.valueRender }));
372
+ return (React.createElement(SearchBar_1.default, { id: id, placeholder: placeholder, tabIndex: tabIndex || undefined, accessKey: this.props.accessKey, value: value, suggestedText: this._suggested, focused: focused, name: this.props.name, ref: function (searchbar) { return _this._input = searchbar && searchbar.input; }, onKeyDown: this.onInputKeyDown, onChange: this.onChangeHandler, onFocus: base.handleFocus, onBlur: this.handleBlur, disabled: disabled, readOnly: readonly, expanded: opened, owns: base.listBoxId, activedescendant: 'option-' + base.guid + '-' + this.focusedIndex(), role: "combobox", ariaLabelledBy: this.props.ariaLabelledBy, ariaDescribedBy: this.props.ariaDescribedBy, render: this.props.valueRender }));
365
373
  };
366
374
  AutoCompleteWithoutContext.prototype.renderListContainer = function () {
375
+ var _a;
367
376
  var base = this.base;
368
- var _a = this.props, dir = _a.dir, header = _a.header, footer = _a.footer, _b = _a.data, data = _b === void 0 ? [] : _b;
377
+ var _b = this.props, dir = _b.dir, header = _b.header, footer = _b.footer, _c = _b.data, data = _c === void 0 ? [] : _c, size = _b.size;
369
378
  var popupSettings = base.getPopupSettings();
370
379
  var opened = this.props.opened !== undefined ? this.props.opened : this.state.opened;
371
380
  var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
@@ -373,13 +382,15 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
373
382
  animate: popupSettings.animate,
374
383
  anchor: this.element,
375
384
  show: opened,
376
- popupClass: popupSettings.popupClass,
377
- className: kendo_react_common_1.classNames('k-list-container k-reset', popupSettings.className),
385
+ popupClass: kendo_react_common_1.classNames(popupSettings.popupClass, 'k-list', (_a = {},
386
+ _a["k-list-" + (sizeMap[size] || size)] = size,
387
+ _a)),
388
+ className: popupSettings.className,
378
389
  appendTo: popupSettings.appendTo
379
390
  }, dir: dir !== undefined ? dir : this.base.dirCalculated, itemsCount: [data.length] },
380
- header,
391
+ header && React.createElement("div", { className: "k-list-header" }, header),
381
392
  this.renderList(),
382
- footer));
393
+ footer && React.createElement("div", { className: "k-list-footer" }, footer)));
383
394
  };
384
395
  AutoCompleteWithoutContext.prototype.renderList = function () {
385
396
  var base = this.base;
@@ -387,7 +398,7 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
387
398
  var _a = this.props, textField = _a.textField, _b = _a.data, data = _b === void 0 ? [] : _b, listNoDataRender = _a.listNoDataRender, itemRender = _a.itemRender;
388
399
  var value = this.value;
389
400
  var opened = this.props.opened !== undefined ? this.props.opened : this.state.opened;
390
- return (React.createElement(List_1.default, { id: base.listBoxId, show: opened, data: data.slice(), focusedIndex: this.focusedIndex(), value: value, textField: textField, valueField: textField, highlightSelected: false, optionsGuid: base.guid, listRef: function (list) { return base.list = list; }, wrapperStyle: { maxHeight: popupSettings.height }, wrapperCssClass: "k-list-scroller", onClick: this.handleItemClick, itemRender: itemRender, noDataRender: listNoDataRender, onMouseDown: function (e) { return e.preventDefault(); } }));
401
+ return (React.createElement(List_1.default, { id: base.listBoxId, show: opened, data: data.slice(), focusedIndex: this.focusedIndex(), value: value, textField: textField, valueField: textField, highlightSelected: false, optionsGuid: base.guid, listRef: function (list) { return base.list = list; }, wrapperStyle: { maxHeight: popupSettings.height }, wrapperCssClass: "k-list-content", onClick: this.handleItemClick, itemRender: itemRender, noDataRender: listNoDataRender, onMouseDown: function (e) { return e.preventDefault(); } }));
391
402
  };
392
403
  AutoCompleteWithoutContext.prototype.triggerOnChange = function (newValue, state, eventArgs) {
393
404
  if (this.value === newValue && !eventArgs) {
@@ -427,11 +438,11 @@ var AutoCompleteWithoutContext = /** @class */ (function (_super) {
427
438
  /**
428
439
  * @hidden
429
440
  */
430
- AutoCompleteWithoutContext.propTypes = __assign({}, DropDownBase_1.default.basicPropTypes, { suggest: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]), placeholder: PropTypes.string, value: PropTypes.string, defaultValue: PropTypes.string, validationMessage: PropTypes.string, required: PropTypes.bool, readonly: PropTypes.bool, clearButton: PropTypes.bool, valueRender: PropTypes.func, id: PropTypes.string, ariaLabelledBy: PropTypes.string, ariaDescribedBy: PropTypes.string });
441
+ AutoCompleteWithoutContext.propTypes = __assign({}, DropDownBase_1.default.basicPropTypes, { size: PropTypes.oneOf([null, 'small', 'medium', 'large']), rounded: PropTypes.oneOf([null, 'small', 'medium', 'large', 'full']), fillMode: PropTypes.oneOf([null, 'solid', 'flat', 'outline']), suggest: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]), placeholder: PropTypes.string, value: PropTypes.string, defaultValue: PropTypes.string, validationMessage: PropTypes.string, required: PropTypes.bool, readonly: PropTypes.bool, clearButton: PropTypes.bool, valueRender: PropTypes.func, id: PropTypes.string, ariaLabelledBy: PropTypes.string, ariaDescribedBy: PropTypes.string });
431
442
  /**
432
443
  * @hidden
433
444
  */
434
- AutoCompleteWithoutContext.defaultProps = __assign({}, DropDownBase_1.default.defaultProps);
445
+ AutoCompleteWithoutContext.defaultProps = __assign({}, DropDownBase_1.default.defaultProps, { size: 'medium', rounded: 'medium', fillMode: 'solid' });
435
446
  return AutoCompleteWithoutContext;
436
447
  }(React.Component));
437
448
  exports.AutoCompleteWithoutContext = AutoCompleteWithoutContext;
@@ -177,4 +177,41 @@ export interface AutoCompleteProps extends FormComponentProps {
177
177
  * Sets the footer component of the AutoComplete ([see example]({% slug customrendering_autocomplete %}#toc-headers-and-footers)).
178
178
  */
179
179
  footer?: React.ReactNode;
180
+ /**
181
+ * Configures the `size` of the AutoComplete.
182
+ *
183
+ * The available options are:
184
+ * - small
185
+ * - medium
186
+ * - large
187
+ * - null&mdash;Does not set a size `className`.
188
+ *
189
+ * @default `medium`
190
+ */
191
+ size?: null | 'small' | 'medium' | 'large';
192
+ /**
193
+ * Configures the `roundness` of the AutoComplete.
194
+ *
195
+ * The available options are:
196
+ * - small
197
+ * - medium
198
+ * - large
199
+ * - full
200
+ * - null&mdash;Does not set a rounded `className`.
201
+ *
202
+ * @default `medium`
203
+ */
204
+ rounded?: null | 'small' | 'medium' | 'large' | 'full';
205
+ /**
206
+ * Configures the `fillMode` of the AutoComplete.
207
+ *
208
+ * The available options are:
209
+ * - solid
210
+ * - flat
211
+ * - outline
212
+ * - null&mdash;Does not set a fillMode `className`.
213
+ *
214
+ * @default `solid`
215
+ */
216
+ fillMode?: null | 'solid' | 'flat' | 'outline';
180
217
  }
@@ -24,6 +24,9 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
24
24
  * @hidden
25
25
  */
26
26
  static propTypes: {
27
+ size: PropTypes.Requireable<"small" | "medium" | "large">;
28
+ rounded: PropTypes.Requireable<"small" | "medium" | "large" | "full">;
29
+ fillMode: PropTypes.Requireable<"solid" | "flat" | "outline">;
27
30
  dataItemKey: PropTypes.Requireable<string>;
28
31
  groupField: PropTypes.Requireable<string>;
29
32
  suggest: PropTypes.Requireable<boolean>;
@@ -66,7 +69,7 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
66
69
  }>>;
67
70
  popupClass: PropTypes.Requireable<string>;
68
71
  className: PropTypes.Requireable<string>;
69
- appendTo: PropTypes.Requireable<any>;
72
+ appendTo: PropTypes.Requireable<PropTypes.ReactElementLike>;
70
73
  width: PropTypes.Requireable<string | number>;
71
74
  height: PropTypes.Requireable<string | number>;
72
75
  }>>;
@@ -85,6 +88,9 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
85
88
  * @hidden
86
89
  */
87
90
  static defaultProps: {
91
+ size: "small" | "medium" | "large";
92
+ rounded: "small" | "medium" | "large" | "full";
93
+ fillMode: "solid" | "flat" | "outline";
88
94
  allowCustom: boolean;
89
95
  clearButton: boolean;
90
96
  required: boolean;
@@ -155,6 +161,7 @@ export declare class ComboBoxWithoutContext extends React.Component<ComboBoxProp
155
161
  * @hidden
156
162
  */
157
163
  onNavigate(state: InternalState, keyCode: number): void;
164
+ private componentRef;
158
165
  private toggleBtnClick;
159
166
  private applyValueOnEnter;
160
167
  private applyValueOnRejectSuggestions;
@@ -35,7 +35,9 @@ var ListContainer_1 = require("../common/ListContainer");
35
35
  var List_1 = require("../common/List");
36
36
  var kendo_react_common_2 = require("@progress/kendo-react-common");
37
37
  var package_metadata_1 = require("../package-metadata");
38
+ var ClearButton_1 = require("../common/ClearButton");
38
39
  var VALIDATION_MESSAGE = 'Please enter a valid value!';
40
+ var sizeMap = kendo_react_common_1.kendoThemeMaps.sizeMap, roundedMap = kendo_react_common_1.kendoThemeMaps.roundedMap;
39
41
  /** @hidden */
40
42
  var ComboBoxWithoutContext = /** @class */ (function (_super) {
41
43
  __extends(ComboBoxWithoutContext, _super);
@@ -73,6 +75,10 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
73
75
  _this.base.triggerPageChangeCornerItems(item, state);
74
76
  }
75
77
  };
78
+ _this.componentRef = function (element) {
79
+ _this._element = element;
80
+ _this.base.wrapper = element;
81
+ };
76
82
  _this.toggleBtnClick = function (event) {
77
83
  var state = _this.base.initState();
78
84
  state.syntheticEvent = event;
@@ -80,11 +86,12 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
80
86
  _this.applyState(state);
81
87
  };
82
88
  _this.onScroll = function (event) {
83
- var _a = _this.props, _b = _a.data, data = _b === void 0 ? [] : _b, groupField = _a.groupField;
89
+ var _a = _this.base, vs = _a.vs, list = _a.list;
90
+ vs.scrollHandler(event);
91
+ var _b = _this.props, _c = _b.data, data = _c === void 0 ? [] : _c, groupField = _b.groupField;
84
92
  if (!groupField || !data.length) {
85
93
  return;
86
94
  }
87
- var _c = _this.base, vs = _c.vs, list = _c.list;
88
95
  var itemHeight = _this.itemHeight =
89
96
  _this.itemHeight || (vs.enabled ? vs.itemHeight : (list ? list.children[0].offsetHeight : 0));
90
97
  var target = event.target;
@@ -349,9 +356,8 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
349
356
  * @hidden
350
357
  */
351
358
  ComboBoxWithoutContext.prototype.render = function () {
352
- var _this = this;
353
- var _a = this.props, dir = _a.dir, disabled = _a.disabled, _b = _a.clearButton, clearButton = _b === void 0 ? ComboBoxWithoutContext.defaultProps.clearButton : _b, label = _a.label, textField = _a.textField, className = _a.className, style = _a.style, loading = _a.loading, iconClassName = _a.iconClassName, virtual = _a.virtual;
354
- var focused = this.state.focused;
359
+ var _a, _b;
360
+ var _c = this.props, dir = _c.dir, disabled = _c.disabled, _d = _c.clearButton, clearButton = _d === void 0 ? ComboBoxWithoutContext.defaultProps.clearButton : _d, label = _c.label, textField = _c.textField, className = _c.className, style = _c.style, loading = _c.loading, iconClassName = _c.iconClassName, virtual = _c.virtual, size = _c.size, rounded = _c.rounded, fillMode = _c.fillMode;
355
361
  var isValid = !this.validityStyles || this.validity.valid;
356
362
  var text = this.props.filter !== undefined ? this.props.filter : this.state.text;
357
363
  var selectedItemText = utils_1.getItemValue(this.value, textField);
@@ -366,22 +372,27 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
366
372
  vs.total = virtual.total;
367
373
  vs.pageSize = virtual.pageSize;
368
374
  }
369
- var combobox = (React.createElement("span", { className: kendo_react_common_1.classNames('k-widget k-combobox', {
370
- 'k-combobox-clearable': clearButton,
371
- 'k-state-invalid': !isValid
372
- }, className), ref: function (element) { return _this._element = element; }, style: !label
375
+ var combobox = (React.createElement("span", { className: kendo_react_common_1.classNames('k-combobox k-input', (_a = {},
376
+ _a["k-input-" + (sizeMap[size] || size)] = size,
377
+ _a["k-rounded-" + (roundedMap[rounded] || rounded)] = rounded,
378
+ _a["k-input-" + fillMode] = fillMode,
379
+ _a['k-valid'] = isValid,
380
+ _a['k-invalid'] = !isValid,
381
+ _a['k-loading'] = loading,
382
+ _a['k-required'] = this.required,
383
+ _a['k-disabled'] = disabled,
384
+ _a), className), ref: this.componentRef, style: !label
373
385
  ? style
374
386
  : __assign({}, style, { width: undefined }), dir: dir },
375
- React.createElement("span", { ref: function (wrapper) { return base.wrapper = wrapper; }, className: kendo_react_common_1.classNames('k-dropdown-wrap', {
376
- 'k-state-disabled': disabled,
377
- 'k-state-focused': focused && !disabled
378
- }) },
379
- this.renderSearchBar(renderClearButton, inputText || '', id),
380
- React.createElement("span", { className: "k-select", onClick: this.toggleBtnClick, onMouseDown: function (e) { return e.preventDefault(); } },
381
- React.createElement("span", { className: kendo_react_common_1.classNames('k-icon', iconClassName, {
382
- 'k-i-arrow-s': !loading && !iconClassName,
383
- 'k-i-loading': loading && !iconClassName
384
- }) }))),
387
+ this.renderSearchBar(inputText || '', id),
388
+ renderClearButton && !loading && React.createElement(ClearButton_1.default, { onClick: this.clearButtonClick, key: "clearbutton" }),
389
+ loading && React.createElement("span", { className: "k-icon k-i-loading", key: "loading" }),
390
+ React.createElement("button", { type: "button", className: kendo_react_common_1.classNames('k-input-button k-button k-icon-button', (_b = {},
391
+ _b["k-button-" + (sizeMap[size] || size)] = size,
392
+ _b["k-button-" + fillMode] = fillMode,
393
+ _b["k-button-" + fillMode + "-base"] = fillMode,
394
+ _b)), onClick: this.toggleBtnClick, onMouseDown: function (e) { return e.preventDefault(); } },
395
+ React.createElement("span", { className: kendo_react_common_1.classNames('k-button-icon k-icon k-i-arrow-s', iconClassName) })),
385
396
  this.renderListContainer()));
386
397
  return label
387
398
  ? (React.createElement(kendo_react_labels_1.FloatingLabel, { label: label, editorId: id, editorValue: inputText, editorValid: isValid, editorDisabled: disabled, style: { width: style ? style.width : undefined }, children: combobox }))
@@ -498,8 +509,9 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
498
509
  return this.applyState(state);
499
510
  };
500
511
  ComboBoxWithoutContext.prototype.renderListContainer = function () {
512
+ var _a;
501
513
  var base = this.base;
502
- var _a = this.props, dir = _a.dir, header = _a.header, footer = _a.footer, _b = _a.data, data = _b === void 0 ? [] : _b, groupField = _a.groupField;
514
+ var _b = this.props, dir = _b.dir, header = _b.header, footer = _b.footer, _c = _b.data, data = _c === void 0 ? [] : _c, groupField = _b.groupField, size = _b.size;
503
515
  var opened = this.props.opened !== undefined ? this.props.opened : this.state.opened;
504
516
  var popupSettings = base.getPopupSettings();
505
517
  var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
@@ -511,14 +523,17 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
511
523
  animate: popupSettings.animate,
512
524
  anchor: this.element,
513
525
  show: opened,
514
- popupClass: popupSettings.popupClass,
515
- className: kendo_react_common_1.classNames('k-list-container k-reset', popupSettings.className),
526
+ popupClass: kendo_react_common_1.classNames(popupSettings.popupClass, 'k-list', (_a = {},
527
+ _a["k-list-" + (sizeMap[size] || size)] = size,
528
+ _a['k-virtual-list'] = this.base.vs.enabled,
529
+ _a)),
530
+ className: popupSettings.className,
516
531
  appendTo: popupSettings.appendTo
517
532
  }, dir: dir !== undefined ? dir : this.base.dirCalculated, itemsCount: [data.length] },
518
- header,
533
+ header && React.createElement("div", { className: "k-list-header" }, header),
519
534
  group && React.createElement("div", { className: "k-group-header" }, group),
520
- base.renderScrollWrapper([this.renderList(), base.renderScrollElement()], this.onScroll),
521
- footer));
535
+ this.renderList(),
536
+ footer && React.createElement("div", { className: "k-list-footer" }, footer)));
522
537
  };
523
538
  ComboBoxWithoutContext.prototype.renderList = function () {
524
539
  var _this = this;
@@ -534,11 +549,9 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
534
549
  var selectedItemText = utils_1.getItemValue(this.value, textField);
535
550
  var value = utils_1.isPresent(text) && text !== selectedItemText ? null : this.value;
536
551
  var ListComponent = this.props.list || List_1.default;
537
- return (React.createElement(ListComponent, { id: base.listBoxId, show: opened, data: data, focusedIndex: focusedIndex, value: value, textField: textField, valueField: dataItemKey, groupField: this.props.groupField, optionsGuid: base.guid, listRef: function (list) { vs.list = _this.base.list = list; _this.itemHeight = 0; }, wrapperStyle: !vs.enabled ?
538
- { maxHeight: popupSettings.height } : { float: 'left', width: '100%' }, wrapperCssClass: !vs.enabled ? 'k-list-scroller' : undefined, listStyle: vs.enabled ?
539
- { transform: translate } : undefined, key: "listkey", skip: skip, onClick: this.handleItemClick, itemRender: itemRender, noDataRender: listNoDataRender, onMouseDown: function (e) { return e.preventDefault(); }, onScroll: this.onScroll }));
552
+ return (React.createElement(ListComponent, { id: base.listBoxId, show: opened, data: data, focusedIndex: focusedIndex, value: value, textField: textField, valueField: dataItemKey, groupField: this.props.groupField, optionsGuid: base.guid, listRef: function (list) { vs.list = _this.base.list = list; _this.itemHeight = 0; }, wrapperStyle: { maxHeight: popupSettings.height }, wrapperCssClass: "k-list-content", listStyle: vs.enabled ? { transform: translate } : undefined, key: "listkey", skip: skip, onClick: this.handleItemClick, itemRender: itemRender, noDataRender: listNoDataRender, onMouseDown: function (e) { return e.preventDefault(); }, onScroll: this.onScroll, wrapperRef: vs.scrollerRef, scroller: this.base.renderScrollElement() }));
540
553
  };
541
- ComboBoxWithoutContext.prototype.renderSearchBar = function (clearButton, text, id) {
554
+ ComboBoxWithoutContext.prototype.renderSearchBar = function (text, id) {
542
555
  var _this = this;
543
556
  var _a = this.props, placeholder = _a.placeholder, tabIndex = _a.tabIndex, disabled = _a.disabled, _b = _a.data, data = _b === void 0 ? [] : _b, dataItemKey = _a.dataItemKey, _c = _a.virtual, virtual = _c === void 0 ? { skip: 0 } : _c;
544
557
  var opened = this.props.opened !== undefined ? this.props.opened : this.state.opened;
@@ -547,7 +560,7 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
547
560
  if (this._suggested && !utils_1.areSame(this._valueOnDidUpdate, value, dataItemKey)) {
548
561
  this._suggested = '';
549
562
  }
550
- return (React.createElement(SearchBar_1.default, { id: id, placeholder: placeholder, tabIndex: tabIndex || undefined, accessKey: this.props.accessKey, value: text + this._suggested, suggestedText: this._suggested, ref: function (el) { return _this._input = el && el.input; }, onKeyDown: this.onInputKeyDown, onChange: this.inputOnChange, onFocus: this.base.handleFocus, onBlur: this.handleBlur, disabled: disabled, expanded: opened, owns: this.base.listBoxId, activedescendant: this.base.guid + '-' + (selectedIndex + virtual.skip), role: "combobox", clearButton: clearButton, clearButtonClick: this.clearButtonClick, ariaLabelledBy: this.props.ariaLabelledBy, ariaDescribedBy: this.props.ariaDescribedBy, render: this.props.valueRender }));
563
+ return (React.createElement(SearchBar_1.default, { id: id, placeholder: placeholder, tabIndex: tabIndex || undefined, accessKey: this.props.accessKey, value: text + this._suggested, suggestedText: this._suggested, ref: function (el) { return _this._input = el && el.input; }, onKeyDown: this.onInputKeyDown, onChange: this.inputOnChange, onFocus: this.base.handleFocus, onBlur: this.handleBlur, disabled: disabled, expanded: opened, owns: this.base.listBoxId, activedescendant: this.base.guid + '-' + (selectedIndex + virtual.skip), role: "combobox", ariaLabelledBy: this.props.ariaLabelledBy, ariaDescribedBy: this.props.ariaDescribedBy, render: this.props.valueRender }));
551
564
  };
552
565
  ComboBoxWithoutContext.prototype.triggerOnChange = function (item, state) {
553
566
  var value = this.value;
@@ -586,11 +599,11 @@ var ComboBoxWithoutContext = /** @class */ (function (_super) {
586
599
  /**
587
600
  * @hidden
588
601
  */
589
- ComboBoxWithoutContext.propTypes = __assign({}, DropDownBase_1.default.propTypes, { dataItemKey: PropTypes.string, groupField: PropTypes.string, suggest: PropTypes.bool, placeholder: PropTypes.string, allowCustom: PropTypes.bool, clearButton: PropTypes.bool, iconClassName: PropTypes.string, validationMessage: PropTypes.string, required: PropTypes.bool, id: PropTypes.string, ariaLabelledBy: PropTypes.string, ariaDescribedBy: PropTypes.string, list: PropTypes.any, valueRender: PropTypes.func });
602
+ ComboBoxWithoutContext.propTypes = __assign({}, DropDownBase_1.default.propTypes, { size: PropTypes.oneOf([null, 'small', 'medium', 'large']), rounded: PropTypes.oneOf([null, 'small', 'medium', 'large', 'full']), fillMode: PropTypes.oneOf([null, 'solid', 'flat', 'outline']), dataItemKey: PropTypes.string, groupField: PropTypes.string, suggest: PropTypes.bool, placeholder: PropTypes.string, allowCustom: PropTypes.bool, clearButton: PropTypes.bool, iconClassName: PropTypes.string, validationMessage: PropTypes.string, required: PropTypes.bool, id: PropTypes.string, ariaLabelledBy: PropTypes.string, ariaDescribedBy: PropTypes.string, list: PropTypes.any, valueRender: PropTypes.func });
590
603
  /**
591
604
  * @hidden
592
605
  */
593
- ComboBoxWithoutContext.defaultProps = __assign({}, DropDownBase_1.default.defaultProps, { allowCustom: false, clearButton: true, required: false });
606
+ ComboBoxWithoutContext.defaultProps = __assign({}, DropDownBase_1.default.defaultProps, { size: 'medium', rounded: 'medium', fillMode: 'solid', allowCustom: false, clearButton: true, required: false });
594
607
  return ComboBoxWithoutContext;
595
608
  }(React.Component));
596
609
  exports.ComboBoxWithoutContext = ComboBoxWithoutContext;
@@ -221,4 +221,41 @@ export interface ComboBoxProps extends FormComponentProps {
221
221
  * @hidden
222
222
  */
223
223
  list?: any;
224
+ /**
225
+ * Configures the `size` of the ComboBox.
226
+ *
227
+ * The available options are:
228
+ * - small
229
+ * - medium
230
+ * - large
231
+ * - null&mdash;Does not set a size `className`.
232
+ *
233
+ * @default `medium`
234
+ */
235
+ size?: null | 'small' | 'medium' | 'large';
236
+ /**
237
+ * Configures the `roundness` of the ComboBox.
238
+ *
239
+ * The available options are:
240
+ * - small
241
+ * - medium
242
+ * - large
243
+ * - full
244
+ * - null&mdash;Does not set a rounded `className`.
245
+ *
246
+ * @default `medium`
247
+ */
248
+ rounded?: null | 'small' | 'medium' | 'large' | 'full';
249
+ /**
250
+ * Configures the `fillMode` of the ComboBox.
251
+ *
252
+ * The available options are:
253
+ * - solid
254
+ * - flat
255
+ * - outline
256
+ * - null&mdash;Does not set a fillMode `className`.
257
+ *
258
+ * @default `solid`
259
+ */
260
+ fillMode?: null | 'solid' | 'flat' | 'outline';
224
261
  }
@@ -23,9 +23,6 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
23
23
  filterable: PropTypes.Requireable<boolean>;
24
24
  filter: PropTypes.Requireable<string>;
25
25
  virtual: PropTypes.Requireable<PropTypes.InferProps<{
26
- /**
27
- * The value of the DropDownList.
28
- */
29
26
  pageSize: PropTypes.Validator<number>;
30
27
  skip: PropTypes.Validator<number>;
31
28
  total: PropTypes.Validator<number>;
@@ -49,7 +46,7 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
49
46
  }>>;
50
47
  popupClass: PropTypes.Requireable<string>;
51
48
  className: PropTypes.Requireable<string>;
52
- appendTo: PropTypes.Requireable<any>;
49
+ appendTo: PropTypes.Requireable<PropTypes.ReactElementLike>;
53
50
  width: PropTypes.Requireable<string | number>;
54
51
  height: PropTypes.Requireable<string | number>;
55
52
  }>>;
@@ -62,9 +59,7 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
62
59
  listNoDataRender: PropTypes.Requireable<(...args: any[]) => any>;
63
60
  focusedItemIndex: PropTypes.Requireable<(...args: any[]) => any>;
64
61
  header: PropTypes.Requireable<PropTypes.ReactNodeLike>;
65
- footer: PropTypes.Requireable<PropTypes.ReactNodeLike>; /**
66
- * @hidden
67
- */
62
+ footer: PropTypes.Requireable<PropTypes.ReactNodeLike>;
68
63
  delay: PropTypes.Requireable<number>;
69
64
  ignoreCase: PropTypes.Requireable<boolean>;
70
65
  iconClassName: PropTypes.Requireable<string>;
@@ -84,6 +79,9 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
84
79
  */
85
80
  static defaultProps: {
86
81
  required: boolean;
82
+ size: "small" | "medium" | "large";
83
+ rounded: "small" | "medium" | "large" | "full";
84
+ fillMode: "solid" | "flat" | "outline";
87
85
  popupSettings: {
88
86
  height: string;
89
87
  };
@@ -159,7 +157,7 @@ export declare class DropDownListWithoutContext extends React.Component<DropDown
159
157
  * @hidden
160
158
  */
161
159
  onNavigate(state: InternalState, keyCode: number): void;
162
- private renderDropDownWrapper;
160
+ private componentRef;
163
161
  private dummySelect;
164
162
  private renderListContainer;
165
163
  private renderList;