@luminati-io/uikit 3.7.4 → 3.7.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -35992,7 +35992,8 @@ var CountrySelect = function CountrySelect(_ref) {
35992
35992
  getCountryCallingCode = _ref.getCountryCallingCode,
35993
35993
  getCountryFlag = _ref.getCountryFlag,
35994
35994
  filterCountry = _ref.filterCountry,
35995
- onMenuClose = _ref.onMenuClose;
35995
+ onMenuClose = _ref.onMenuClose,
35996
+ menuPortalTarget = _ref.menuPortalTarget;
35996
35997
  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
35997
35998
  var onInputBlurRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
35998
35999
  var searchInputRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();
@@ -36090,7 +36091,7 @@ var CountrySelect = function CountrySelect(_ref) {
36090
36091
  value: value,
36091
36092
  onChange: onChangeCountry,
36092
36093
  isDisabled: disabled,
36093
- menuPortalTarget: document.body,
36094
+ menuPortalTarget: menuPortalTarget,
36094
36095
  styles: getStyles(size),
36095
36096
  formatOptionLabel: formatOptionLabel,
36096
36097
  placeholder: null,
@@ -36344,7 +36345,7 @@ __webpack_require__.r(__webpack_exports__);
36344
36345
 
36345
36346
  /*jslint react:true*/
36346
36347
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
36347
- var _excluded = ["size", "value", "onChange", "placeholder", "countries", "maxLength", "inputProps", "disabled", "defaultCountry", "parsePhoneNumber", "getCountryValue", "getCountryLabel", "getCountryCallingCode", "getCountryFlag", "filterCountry"],
36348
+ var _excluded = ["size", "value", "onChange", "placeholder", "countries", "maxLength", "inputProps", "disabled", "defaultCountry", "parsePhoneNumber", "getCountryValue", "getCountryLabel", "getCountryCallingCode", "getCountryFlag", "filterCountry", "menuPortalTarget"],
36348
36349
  _excluded2 = ["value", "parsePhoneNumber"];
36349
36350
  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); }
36350
36351
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -36388,6 +36389,7 @@ var Phone = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef
36388
36389
  getCountryCallingCode = _ref.getCountryCallingCode,
36389
36390
  getCountryFlag = _ref.getCountryFlag,
36390
36391
  filterCountry = _ref.filterCountry,
36392
+ menuPortalTarget = _ref.menuPortalTarget,
36391
36393
  rest = _objectWithoutProperties(_ref, _excluded);
36392
36394
  var fieldRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
36393
36395
  var unmaskNumber = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
@@ -36446,7 +36448,8 @@ var Phone = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef
36446
36448
  getCountryCallingCode: getCountryCallingCode,
36447
36449
  getCountryFlag: getCountryFlag,
36448
36450
  filterCountry: filterCountry,
36449
- onMenuClose: handleMenuClose
36451
+ onMenuClose: handleMenuClose,
36452
+ menuPortalTarget: menuPortalTarget
36450
36453
  };
36451
36454
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_4__.FieldWrapper, _extends({}, rest, {
36452
36455
  ref: ref,
@@ -40896,7 +40899,7 @@ var TableHeader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forw
40896
40899
  }),
40897
40900
  $isLast: hideLastRowBorder && n == headerGroups.length - 1
40898
40901
  }), group.headers.map(function (header, i) {
40899
- var isLast = i == group.length - 1;
40902
+ var isLast = i == group.headers.length - 1;
40900
40903
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(HeaderCell, {
40901
40904
  compact: compact,
40902
40905
  isLast: isLast,