@luminati-io/uikit 3.0.22 → 3.0.23

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.
@@ -25158,6 +25158,10 @@ __webpack_require__.r(__webpack_exports__);
25158
25158
  /*jslint react:true*/
25159
25159
  var _excluded = ["children", "getValue"];
25160
25160
  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); }
25161
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
25162
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
25163
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
25164
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
25161
25165
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
25162
25166
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
25163
25167
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -25204,11 +25208,13 @@ var ValueContainerComponent = function ValueContainerComponent(props) {
25204
25208
  }, 0);
25205
25209
  var moreOptWidth = ((_moreOptRef$current = moreOptRef.current) === null || _moreOptRef$current === void 0 ? void 0 : _moreOptRef$current.offsetWidth) || 0 + _constants__WEBPACK_IMPORTED_MODULE_3__.offset * 2;
25206
25210
  if (inputWidth - moreOptWidth < inputChildrenWidth) {
25211
+ var _tempOpts;
25207
25212
  var stopWidth = 0;
25208
25213
  inputElements.forEach(function (tag, index) {
25209
25214
  stopWidth += tag.offsetWidth + _constants__WEBPACK_IMPORTED_MODULE_3__.offset * 2;
25210
25215
  if (inputWidth - moreOptWidth >= stopWidth) tempOpts.push(opts[index]);
25211
25216
  });
25217
+ (_tempOpts = tempOpts).push.apply(_tempOpts, _toConsumableArray(opts.slice(length)));
25212
25218
  } else tempOpts = opts;
25213
25219
  return tempOpts;
25214
25220
  }, [optsRef, opts]);
@@ -25229,9 +25235,10 @@ var ValueContainerComponent = function ValueContainerComponent(props) {
25229
25235
  setRecalculationRender(true);
25230
25236
  }, [opts]);
25231
25237
  (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useResize)(handleResize);
25238
+ console.log(react__WEBPACK_IMPORTED_MODULE_0__.Children.toArray(children));
25232
25239
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(OptsWrapper, {
25233
25240
  ref: optsRef
25234
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_select__WEBPACK_IMPORTED_MODULE_5__.c.ValueContainer, rest, !props.selectProps.inputValue && visibleOpts, (recalculationRender || hiddenCount > 0) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MoreOpt, {
25241
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_select__WEBPACK_IMPORTED_MODULE_5__.c.ValueContainer, rest, visibleOpts, (recalculationRender || hiddenCount > 0) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MoreOpt, {
25235
25242
  key: "more-badge",
25236
25243
  ref: moreOptRef,
25237
25244
  inputProps: props,