@luminati-io/uikit 3.2.0 → 3.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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", "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"];
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; }
@@ -37457,6 +37457,7 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37457
37457
  disabled = props.disabled,
37458
37458
  invalid = props.invalid,
37459
37459
  helperText = props.helperText,
37460
+ className = props.className,
37460
37461
  classNamePrefix = props.classNamePrefix,
37461
37462
  onChangeCapture = props.onChangeCapture,
37462
37463
  menuPortalTarget = props.menuPortalTarget,
@@ -37496,7 +37497,8 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37496
37497
  }, [props.autosize, hideSelectedOptions]);
37497
37498
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, _extends({
37498
37499
  ref: forwardRef,
37499
- "data-testid": "dropdown"
37500
+ "data-testid": "dropdown",
37501
+ className: className
37500
37502
  }, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCommonProps)(rest), {
37501
37503
  flex_direction: "column",
37502
37504
  gap: "02"
@@ -37523,6 +37525,9 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37523
37525
  required: required,
37524
37526
  styles: styles,
37525
37527
  components: (0,_build_components__WEBPACK_IMPORTED_MODULE_10__.buildComponents)(props),
37528
+ className: (0,_utils__WEBPACK_IMPORTED_MODULE_8__.classNames)(className, {
37529
+ container: true
37530
+ }),
37526
37531
  classNamePrefix: classNamePrefix,
37527
37532
  menuPortalTarget: menuPortalTarget,
37528
37533
  onChangeCapture: onChangeCapture,
@@ -38449,7 +38454,7 @@ var VirtualizedListRowRenderer = function VirtualizedListRowRenderer(_ref7) {
38449
38454
  innerProps: thisProps.innerProps,
38450
38455
  formatOptionLabel: formatOptionLabel,
38451
38456
  tag: "div"
38452
- }));
38457
+ }, thisProps.children));
38453
38458
  };
38454
38459
  Comp.displayName = 'VirtualizedListRowRendererComp';
38455
38460
  return Comp;