@luminati-io/uikit 4.0.1 → 4.0.2
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.
@@ -34538,7 +34538,7 @@ var defaultIsOptionDisabled = function defaultIsOptionDisabled(opt) {
|
|
34538
34538
|
return opt.disabled;
|
34539
34539
|
};
|
34540
34540
|
var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, forwardRef) {
|
34541
|
-
var _splitProps = (0,_util__WEBPACK_IMPORTED_MODULE_8__.splitProps)(props, 'autoFocus', 'blurInputOnSelect', 'filterOption', 'formatOptionLabel', 'value', 'defaultValue', 'options', 'onChange', 'onFocus', 'onBlur', 'onChangeCapture', 'onInputChange', 'getOptionValue', 'getOptionLabel', 'isOptionSelected', 'isLoading', 'loadOptions', 'defaultOptions', 'cacheOptions', 'onCreateOption', 'formatCreateLabel', 'isValidNewOption', 'getNewOptionData', 'onMenuOpen', 'onMenuClose', 'openMenuOnFocus', 'menuIsOpen'),
|
34541
|
+
var _splitProps = (0,_util__WEBPACK_IMPORTED_MODULE_8__.splitProps)(props, 'autoFocus', 'blurInputOnSelect', 'filterOption', 'formatOptionLabel', 'value', 'defaultValue', 'options', 'onChange', 'onFocus', 'onBlur', 'onChangeCapture', 'onInputChange', 'getOptionValue', 'getOptionLabel', 'isOptionSelected', 'isLoading', 'loadOptions', 'defaultOptions', 'cacheOptions', 'onCreateOption', 'formatCreateLabel', 'isValidNewOption', 'getNewOptionData', 'onMenuOpen', 'onMenuClose', 'openMenuOnFocus', 'menuIsOpen', 'noOptionsMessage'),
|
34542
34542
|
_splitProps2 = _slicedToArray(_splitProps, 2),
|
34543
34543
|
selectProps = _splitProps2[0],
|
34544
34544
|
restProps = _splitProps2[1];
|
@@ -34672,7 +34672,8 @@ Dropdown.propTypes = {
|
|
34672
34672
|
searchable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34673
34673
|
openMenuOnFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34674
34674
|
menuIsOpen: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34675
|
-
closeMenuOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
34675
|
+
closeMenuOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34676
|
+
noOptionsMessage: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
|
34676
34677
|
};
|
34677
34678
|
var getComponent = function getComponent(opt) {
|
34678
34679
|
if (opt.async) return opt.creatable ? react_select_async_creatable__WEBPACK_IMPORTED_MODULE_4__["default"] : react_select_async__WEBPACK_IMPORTED_MODULE_3__["default"];
|