@luminati-io/uikit 3.2.0 → 3.2.1

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", "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,7 +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
- classNamePrefix = props.classNamePrefix,
37460
+ className = props.className,
37461
37461
  onChangeCapture = props.onChangeCapture,
37462
37462
  menuPortalTarget = props.menuPortalTarget,
37463
37463
  filterOption = props.filterOption,
@@ -37496,7 +37496,8 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37496
37496
  }, [props.autosize, hideSelectedOptions]);
37497
37497
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_6__.Flex, _extends({
37498
37498
  ref: forwardRef,
37499
- "data-testid": "dropdown"
37499
+ "data-testid": "dropdown",
37500
+ className: className
37500
37501
  }, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCommonProps)(rest), {
37501
37502
  flex_direction: "column",
37502
37503
  gap: "02"
@@ -37523,7 +37524,10 @@ var Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
37523
37524
  required: required,
37524
37525
  styles: styles,
37525
37526
  components: (0,_build_components__WEBPACK_IMPORTED_MODULE_10__.buildComponents)(props),
37526
- classNamePrefix: classNamePrefix,
37527
+ className: (0,_utils__WEBPACK_IMPORTED_MODULE_8__.classNames)(className, {
37528
+ container: true
37529
+ }),
37530
+ classNamePrefix: className,
37527
37531
  menuPortalTarget: menuPortalTarget,
37528
37532
  onChangeCapture: onChangeCapture,
37529
37533
  closeMenuOnSelect: !multiselect,
@@ -37567,7 +37571,7 @@ Dropdown.propTypes = {
37567
37571
  multiselect: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37568
37572
  clearable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37569
37573
  creatable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37570
- classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
37574
+ className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
37571
37575
  menuPlacement: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['bottom', 'auto', 'top']),
37572
37576
  virtualized: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
37573
37577
  autosize: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
@@ -38449,7 +38453,7 @@ var VirtualizedListRowRenderer = function VirtualizedListRowRenderer(_ref7) {
38449
38453
  innerProps: thisProps.innerProps,
38450
38454
  formatOptionLabel: formatOptionLabel,
38451
38455
  tag: "div"
38452
- }));
38456
+ }, thisProps.children));
38453
38457
  };
38454
38458
  Comp.displayName = 'VirtualizedListRowRendererComp';
38455
38459
  return Comp;