@luminati-io/uikit 3.5.7 → 3.5.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -28267,7 +28267,7 @@ __webpack_require__.r(__webpack_exports__);
28267
28267
 
28268
28268
 
28269
28269
  /*jslint react:true*/
28270
- var _excluded = ["items"];
28270
+ var _excluded = ["items", "minItemWidth", "maxItemWidth"];
28271
28271
  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); }
28272
28272
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
28273
28273
  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."); }
@@ -28287,6 +28287,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
28287
28287
  var Breadcrumbs = function Breadcrumbs(props) {
28288
28288
  var _props$items = props.items,
28289
28289
  items = _props$items === void 0 ? [] : _props$items,
28290
+ minItemWidth = props.minItemWidth,
28291
+ maxItemWidth = props.maxItemWidth,
28290
28292
  rest = _objectWithoutProperties(props, _excluded);
28291
28293
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),
28292
28294
  _useState2 = _slicedToArray(_useState, 2),
@@ -28394,7 +28396,9 @@ var Breadcrumbs = function Breadcrumbs(props) {
28394
28396
  key: item.text,
28395
28397
  active: index === activeIndex,
28396
28398
  item: item,
28397
- isLastItem: visibleItems.length - 1 == index
28399
+ isLastItem: visibleItems.length - 1 == index,
28400
+ minItemWidth: minItemWidth,
28401
+ maxItemWidth: maxItemWidth
28398
28402
  });
28399
28403
  });
28400
28404
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(BreadcrumbsContainer, _extends({
@@ -28418,11 +28422,17 @@ var Breadcrumbs = function Breadcrumbs(props) {
28418
28422
  }, itemsList.slice(-1))));
28419
28423
  };
28420
28424
  Breadcrumbs.displayName = 'Breadcrumbs';
28425
+ Breadcrumbs.defaultValues = {
28426
+ minItemWidth: 200,
28427
+ maxItemWidth: 400
28428
+ };
28421
28429
  Breadcrumbs.propTypes = {
28422
28430
  items: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({
28423
28431
  text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node).isRequired,
28424
28432
  onClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
28425
- }))
28433
+ })),
28434
+ minItemWidth: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
28435
+ maxItemWidth: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
28426
28436
  };
28427
28437
  var BreadcrumbsContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().nav.withConfig({
28428
28438
  displayName: "BreadcrumbsContainer",
@@ -28444,15 +28454,28 @@ __webpack_require__.r(__webpack_exports__);
28444
28454
  /* harmony export */ });
28445
28455
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
28446
28456
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
28447
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
28448
- /* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../link */ "./src/link/index.js");
28449
- /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
28450
- /* harmony import */ var _divider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./divider */ "./src/breadcrumbs/divider.js");
28457
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
28458
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
28459
+ /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
28460
+ /* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../link */ "./src/link/index.js");
28461
+ /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip.js");
28462
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
28463
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
28464
+ /* harmony import */ var _divider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./divider */ "./src/breadcrumbs/divider.js");
28451
28465
  // LICENSE_CODE ZON
28452
28466
 
28453
28467
 
28454
28468
  /*jslint react:true*/
28455
28469
  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); }
28470
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
28471
+ 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."); }
28472
+ 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); }
28473
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
28474
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
28475
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
28476
+
28477
+
28478
+
28456
28479
 
28457
28480
 
28458
28481
 
@@ -28462,16 +28485,35 @@ var BreadcrumbsItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forward
28462
28485
  var item = props.item,
28463
28486
  isBackItem = props.isBackItem,
28464
28487
  isLastItem = props.isLastItem,
28465
- active = props.active;
28466
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_1__.Flex, {
28488
+ active = props.active,
28489
+ minItemWidth = props.minItemWidth,
28490
+ maxItemWidth = props.maxItemWidth;
28491
+ var labelRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
28492
+ var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
28493
+ _useState2 = _slicedToArray(_useState, 2),
28494
+ isOverflown = _useState2[0],
28495
+ setIsOverflown = _useState2[1];
28496
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
28497
+ var element = labelRef.current;
28498
+ var compare = element ? element.offsetWidth < element.scrollWidth || element.offsetHeight < element.scrollHeight : false;
28499
+ setIsOverflown(compare);
28500
+ }, [item.text, maxItemWidth]);
28501
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_2__.Flex, {
28467
28502
  ref: ref
28468
- }, isLastItem && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
28503
+ }, isLastItem && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_4__.Tooltip, {
28504
+ noWrap: true,
28505
+ tooltip: isOverflown ? item.text : undefined
28506
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledLabel, {
28507
+ ref: labelRef,
28469
28508
  "data-role": "item",
28470
28509
  "data-testid": active ? 'active-item' : 'item',
28510
+ style: {
28511
+ minWidth: (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(minItemWidth),
28512
+ maxWidth: (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(maxItemWidth)
28513
+ },
28471
28514
  variant: "xs",
28472
- color: "gray_11",
28473
- no_wrap: true
28474
- }, item.text), !isLastItem && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_link__WEBPACK_IMPORTED_MODULE_2__.Link, _extends({
28515
+ color: "gray_11"
28516
+ }, item.text)), !isLastItem && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_link__WEBPACK_IMPORTED_MODULE_3__.Link, _extends({
28475
28517
  "data-role": "item",
28476
28518
  "data-testid": active ? 'active-item' : 'item'
28477
28519
  }, item, {
@@ -28479,9 +28521,13 @@ var BreadcrumbsItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forward
28479
28521
  iconPlacement: "left",
28480
28522
  variant: "secondary",
28481
28523
  size: "sm"
28482
- })), !isBackItem && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_divider__WEBPACK_IMPORTED_MODULE_4__.Divider, null)));
28524
+ })), !isBackItem && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_divider__WEBPACK_IMPORTED_MODULE_7__.Divider, null)));
28483
28525
  });
28484
28526
  BreadcrumbsItem.displayName = 'BreadcrumbsItem';
28527
+ var StyledLabel = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_typography__WEBPACK_IMPORTED_MODULE_5__.Label).withConfig({
28528
+ displayName: "StyledLabel",
28529
+ componentId: "sc-19foph6-0"
28530
+ })(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:15px;"]);
28485
28531
 
28486
28532
  /***/ }),
28487
28533
 
@@ -31561,12 +31607,11 @@ __webpack_require__.r(__webpack_exports__);
31561
31607
  "use strict";
31562
31608
  __webpack_require__.r(__webpack_exports__);
31563
31609
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
31564
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
31565
- /* harmony export */ getDisplayName: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_1__.getDisplayName),
31566
- /* harmony export */ withPopover: () => (/* reexport safe */ _with_popover__WEBPACK_IMPORTED_MODULE_0__["default"])
31610
+ /* harmony export */ getDisplayName: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_0__.getDisplayName),
31611
+ /* harmony export */ withPopover: () => (/* reexport safe */ _with_popover__WEBPACK_IMPORTED_MODULE_1__.withPopover)
31567
31612
  /* harmony export */ });
31568
- /* harmony import */ var _with_popover__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./with_popover */ "./src/hoc/with_popover.js");
31569
- /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util */ "./src/hoc/util.js");
31613
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util */ "./src/hoc/util.js");
31614
+ /* harmony import */ var _with_popover__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./with_popover */ "./src/hoc/with_popover.js");
31570
31615
  // LICENSE_CODE ZON
31571
31616
 
31572
31617
 
@@ -31574,10 +31619,6 @@ __webpack_require__.r(__webpack_exports__);
31574
31619
 
31575
31620
 
31576
31621
 
31577
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
31578
- withPopover: _with_popover__WEBPACK_IMPORTED_MODULE_0__["default"]
31579
- });
31580
-
31581
31622
  /***/ }),
31582
31623
 
31583
31624
  /***/ "./src/hoc/util.js":
@@ -31610,7 +31651,7 @@ var getDisplayName = function getDisplayName(Comp) {
31610
31651
  "use strict";
31611
31652
  __webpack_require__.r(__webpack_exports__);
31612
31653
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
31613
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
31654
+ /* harmony export */ withPopover: () => (/* binding */ withPopover)
31614
31655
  /* harmony export */ });
31615
31656
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
31616
31657
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
@@ -31659,6 +31700,8 @@ var withPopover = function withPopover(Comp, PopoverComp) {
31659
31700
  zIndex = popoverOptions.zIndex,
31660
31701
  wrapperClassName = popoverOptions.wrapperClassName,
31661
31702
  wrapperStyle = popoverOptions.wrapperStyle,
31703
+ popoverClassName = popoverOptions.popoverClassName,
31704
+ popoverStyle = popoverOptions.popoverStyle,
31662
31705
  interactive = popoverOptions.interactive,
31663
31706
  delay = popoverOptions.delay;
31664
31707
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),
@@ -31671,24 +31714,24 @@ var withPopover = function withPopover(Comp, PopoverComp) {
31671
31714
  setPopperElement = _useState4[1];
31672
31715
  var _useStateWithCallback = useStateWithCallback(false, onOpenChange),
31673
31716
  _useStateWithCallback2 = _slicedToArray(_useStateWithCallback, 2),
31674
- popoverVisible = _useStateWithCallback2[0],
31675
- setPopoverVisible = _useStateWithCallback2[1];
31717
+ isOpen = _useStateWithCallback2[0],
31718
+ setIsOpen = _useStateWithCallback2[1];
31676
31719
  var timer = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
31677
- var close_delay = delay || DEFAULT_CLOSE_DELAY;
31720
+ var closeDelay = delay || DEFAULT_CLOSE_DELAY;
31678
31721
  var showPopover = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
31679
31722
  clearTimeout(timer.current);
31680
31723
  timer.current = setTimeout(function () {
31681
- return setPopoverVisible(true);
31724
+ return setIsOpen(true);
31682
31725
  }, interactive ? delay : 0);
31683
- }, []);
31726
+ }, [interactive, delay]);
31684
31727
  var hidePopover = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
31685
31728
  clearTimeout(timer.current);
31686
31729
  timer.current = setTimeout(function () {
31687
- return setPopoverVisible(false);
31688
- }, interactive ? close_delay : 0);
31689
- }, []);
31730
+ return setIsOpen(false);
31731
+ }, interactive ? closeDelay : 0);
31732
+ }, [interactive, closeDelay]);
31690
31733
  var togglePopover = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
31691
- return setPopoverVisible(function (v) {
31734
+ return setIsOpen(function (v) {
31692
31735
  return !v;
31693
31736
  });
31694
31737
  }, []);
@@ -31716,11 +31759,21 @@ var withPopover = function withPopover(Comp, PopoverComp) {
31716
31759
  };
31717
31760
  }, [showPopover, hidePopover, togglePopover, update, forceUpdate]);
31718
31761
  var hideAndStopEvt = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (evt) {
31719
- if (!popoverVisible) return;
31762
+ if (!isOpen) return;
31720
31763
  evt.stopPropagation();
31721
31764
  evt.preventDefault();
31722
31765
  hidePopover();
31723
- }, [popoverVisible, hidePopover]);
31766
+ }, [isOpen, hidePopover]);
31767
+ var onPointerEnter = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (evt) {
31768
+ var _compProps$onPointerE;
31769
+ if (interactive) showPopover();
31770
+ (_compProps$onPointerE = compProps.onPointerEnter) === null || _compProps$onPointerE === void 0 || _compProps$onPointerE.call(compProps, evt);
31771
+ }, [interactive, showPopover, compProps.onPointerEnter]);
31772
+ var onPointerLeave = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (evt) {
31773
+ var _compProps$onPointerL;
31774
+ if (interactive) hidePopover();
31775
+ (_compProps$onPointerL = compProps.onPointerLeave) === null || _compProps$onPointerL === void 0 || _compProps$onPointerL.call(compProps, evt);
31776
+ }, [interactive, hidePopover, compProps.onPointerLeave]);
31724
31777
  (0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useOutsideClick)([referenceElement, popperElement], hideAndStopEvt);
31725
31778
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(RefCompContainer, {
31726
31779
  ref: setReferenceElement,
@@ -31729,14 +31782,16 @@ var withPopover = function withPopover(Comp, PopoverComp) {
31729
31782
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Comp, _extends({
31730
31783
  ref: ref
31731
31784
  }, compProps, {
31785
+ isOpen: isOpen,
31732
31786
  popover: popoverApi,
31733
- onPointerEnter: interactive ? showPopover : undefined,
31734
- onPointerLeave: interactive ? hidePopover : undefined
31735
- }))), popoverVisible && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(PopoverContainer, {
31787
+ onPointerEnter: onPointerEnter,
31788
+ onPointerLeave: onPointerLeave
31789
+ }))), isOpen && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(PopoverContainer, {
31736
31790
  ref: setPopperElement,
31737
- style: styles.popper,
31791
+ className: popoverClassName,
31792
+ style: assign({}, popoverStyle, styles.popper),
31738
31793
  attributes: attributes.popper,
31739
- visible: popoverVisible,
31794
+ visible: isOpen,
31740
31795
  portalTarget: portalTarget,
31741
31796
  zIndex: zIndex
31742
31797
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(PopoverComp, _extends({}, restPopoverProps, {
@@ -31783,7 +31838,6 @@ var useStateWithCallback = function useStateWithCallback(initialValue, callback)
31783
31838
  }, [value, callback]);
31784
31839
  return [value, setValue];
31785
31840
  };
31786
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withPopover);
31787
31841
 
31788
31842
  /***/ }),
31789
31843
 
@@ -33176,7 +33230,7 @@ __webpack_require__.r(__webpack_exports__);
33176
33230
  /* harmony import */ var react_day_picker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-day-picker */ "./node_modules/react-day-picker/dist/index.esm.js");
33177
33231
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! styled-components */ "styled-components");
33178
33232
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
33179
- /* harmony import */ var _hoc_with_popover__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hoc/with_popover */ "./src/hoc/with_popover.js");
33233
+ /* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hoc */ "./src/hoc/index.js");
33180
33234
  /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
33181
33235
  /* harmony import */ var _translation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../translation */ "./src/translation.js");
33182
33236
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
@@ -33347,7 +33401,7 @@ var PickerPopover = function PickerPopover(props) {
33347
33401
  }));
33348
33402
  };
33349
33403
  PickerPopover.displayName = 'PickerPopover';
33350
- var Picker = (0,_hoc_with_popover__WEBPACK_IMPORTED_MODULE_4__["default"])(PickerField, PickerPopover, {
33404
+ var Picker = (0,_hoc__WEBPACK_IMPORTED_MODULE_4__.withPopover)(PickerField, PickerPopover, {
33351
33405
  placement: 'bottom',
33352
33406
  zIndex: _constants__WEBPACK_IMPORTED_MODULE_7__.Z_INDEX.datepicker
33353
33407
  });