@luminati-io/uikit 3.2.2 → 3.2.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.
@@ -37423,7 +37423,7 @@ __webpack_require__.r(__webpack_exports__);
37423
37423
 
37424
37424
 
37425
37425
  /*jslint react:true*/
37426
- var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "className", "classNamePrefix", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected", "async", "isLoading", "loadOptions", "defaultOptions", "cacheOptions", "onCreateOption", "formatCreateLabel", "isValidNewOption", "getNewOptionData"];
37426
+ var _excluded = ["label", "labelIcon", "required", "value", "defaultValue", "placeholder", "options", "onChange", "onFocus", "onBlur", "multiselect", "creatable", "clearable", "disabled", "invalid", "helperText", "className", "classNamePrefix", "onChangeCapture", "menuPortalTarget", "filterOption", "formatOptionLabel", "menuPlacement", "hideSelectedOptions", "onInputChange", "getOptionValue", "getOptionLabel", "isOptionDisabled", "isOptionSelected", "async", "isLoading", "loadOptions", "defaultOptions", "cacheOptions", "onCreateOption", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "autoFocus", "blurInputOnSelect", "onMenuOpen", "onMenuClose", "searchable", "openMenuOnFocus"];
37427
37427
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
37428
37428
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
37429
37429
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -37479,6 +37479,12 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37479
37479
  formatCreateLabel = props.formatCreateLabel,
37480
37480
  isValidNewOption = props.isValidNewOption,
37481
37481
  getNewOptionData = props.getNewOptionData,
37482
+ autoFocus = props.autoFocus,
37483
+ blurInputOnSelect = props.blurInputOnSelect,
37484
+ onMenuOpen = props.onMenuOpen,
37485
+ onMenuClose = props.onMenuClose,
37486
+ searchable = props.searchable,
37487
+ openMenuOnFocus = props.openMenuOnFocus,
37482
37488
  rest = _objectWithoutProperties(props, _excluded);
37483
37489
  var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.useLabelId)(props.id);
37484
37490
  var t = (0,_translation__WEBPACK_IMPORTED_MODULE_7__.useTranslate)();
@@ -37508,6 +37514,8 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37508
37514
  labelIcon: labelIcon,
37509
37515
  required: required
37510
37516
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(SelectComp, {
37517
+ autoFocus: autoFocus,
37518
+ blurInputOnSelect: blurInputOnSelect,
37511
37519
  filterOption: filterOption,
37512
37520
  formatOptionLabel: formatOptionLabel,
37513
37521
  "aria-labelledby": label ? labelId : undefined,
@@ -37546,7 +37554,11 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37546
37554
  onCreateOption: onCreateOption,
37547
37555
  formatCreateLabel: formatCreateLabel,
37548
37556
  isValidNewOption: isValidNewOption,
37549
- getNewOptionData: getNewOptionData
37557
+ getNewOptionData: getNewOptionData,
37558
+ onMenuOpen: onMenuOpen,
37559
+ onMenuClose: onMenuClose,
37560
+ isSearchable: searchable,
37561
+ openMenuOnFocus: openMenuOnFocus
37550
37562
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_9__.HelperText, {
37551
37563
  invalid: invalid
37552
37564
  }, helperText));
@@ -37592,7 +37604,13 @@ Dropdown.propTypes = {
37592
37604
  onCreateOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37593
37605
  formatCreateLabel: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37594
37606
  isValidNewOption: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37595
- getNewOptionData: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
37607
+ getNewOptionData: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37608
+ autoFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37609
+ blurInputOnSelect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37610
+ onMenuOpen: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37611
+ onMenuClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
37612
+ searchable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37613
+ openMenuOnFocus: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
37596
37614
  };
37597
37615
  Dropdown.defaultProps = {
37598
37616
  size: 'sm',