@luminati-io/uikit 6.2.12 → 6.2.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -34109,11 +34109,11 @@ CodeBlock.propTypes = {
34109
34109
  var CodeBlockWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
34110
34110
  displayName: "CodeBlockWrapper",
34111
34111
  componentId: "sc-dgi5hi-0"
34112
- })(["border-radius:4px;overflow:hidden;", "{border-top-left-radius:0;border-top-right-radius:0;}"], _code_snippet__WEBPACK_IMPORTED_MODULE_4__.CodeSnipperWrapper);
34112
+ })(["", "{border-top-left-radius:0;border-top-right-radius:0;}"], _code_snippet__WEBPACK_IMPORTED_MODULE_4__.CodeSnipperWrapper);
34113
34113
  var CodeBlockHeader = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
34114
34114
  displayName: "CodeBlockHeader",
34115
34115
  componentId: "sc-dgi5hi-1"
34116
- })(["display:flex;align-items:center;justify-content:space-between;padding:0.9em 1em;font-family:", ";font-size:", ";&.black{background-color:", ";color:", ";}&.white{background-color:", ";color:", ";}"], function (_ref) {
34116
+ })(["display:flex;align-items:center;justify-content:space-between;padding:0.9em 1em;border-radius:4px 4px 0 0;font-family:", ";font-size:", ";&.black{background-color:", ";color:", ";}&.white{background-color:", ";color:", ";}"], function (_ref) {
34117
34117
  var font_family = _ref.theme.font_family;
34118
34118
  return font_family.sans;
34119
34119
  }, function (_ref2) {
@@ -34672,6 +34672,7 @@ __webpack_require__.r(__webpack_exports__);
34672
34672
  /* harmony export */ INPUT_VERTICAL_PADDING: () => (/* binding */ INPUT_VERTICAL_PADDING),
34673
34673
  /* harmony export */ PT_NECESSITY_INDICATOR: () => (/* binding */ PT_NECESSITY_INDICATOR),
34674
34674
  /* harmony export */ PT_TOOLTIP_PLACEMENT: () => (/* binding */ PT_TOOLTIP_PLACEMENT),
34675
+ /* harmony export */ PT_TRIGGER: () => (/* binding */ PT_TRIGGER),
34675
34676
  /* harmony export */ TOOLTIP_PLACEMENT: () => (/* binding */ TOOLTIP_PLACEMENT),
34676
34677
  /* harmony export */ Z_INDEX: () => (/* binding */ Z_INDEX)
34677
34678
  /* harmony export */ });
@@ -34683,6 +34684,7 @@ __webpack_require__.r(__webpack_exports__);
34683
34684
 
34684
34685
  var PT_NECESSITY_INDICATOR = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['none', 'asterisk', 'text']);
34685
34686
  var PT_TOOLTIP_PLACEMENT = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['right', 'top', 'left', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom']);
34687
+ var PT_TRIGGER = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['hover', 'click', 'focus', 'contextMenu']);
34686
34688
  var Z_INDEX = {
34687
34689
  editingCell: 1,
34688
34690
  cellResizer: 1,
@@ -34693,6 +34695,7 @@ var Z_INDEX = {
34693
34695
  popover: 1000,
34694
34696
  backdrop: 1040,
34695
34697
  drawer: 1050,
34698
+ modal: 1060,
34696
34699
  datepicker: 2000,
34697
34700
  tooltip: 9999,
34698
34701
  dropdown: 999999,
@@ -42313,32 +42316,29 @@ __webpack_require__.r(__webpack_exports__);
42313
42316
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
42314
42317
  /* harmony export */ MenuItem: () => (/* binding */ MenuItem)
42315
42318
  /* harmony export */ });
42316
- /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
42317
- /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
42318
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
42319
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
42320
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
42321
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
42322
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! styled-components */ "styled-components");
42323
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
42324
- /* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hoc */ "./src/hoc/index.js");
42325
- /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
42326
- /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip/index.js");
42327
- /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
42328
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
42329
- /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./menu */ "./src/menu/menu.js");
42330
- /* harmony import */ var _menu_item_divider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./menu_item_divider */ "./src/menu/menu_item_divider.js");
42331
- /* harmony import */ var _menu_item_group__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./menu_item_group */ "./src/menu/menu_item_group.js");
42332
- /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./shared */ "./src/menu/shared.js");
42319
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
42320
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
42321
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
42322
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
42323
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
42324
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
42325
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
42326
+ /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
42327
+ /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip/index.js");
42328
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
42329
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
42330
+ /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./menu */ "./src/menu/menu.js");
42331
+ /* harmony import */ var _menu_item_divider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./menu_item_divider */ "./src/menu/menu_item_divider.js");
42332
+ /* harmony import */ var _menu_item_group__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./menu_item_group */ "./src/menu/menu_item_group.js");
42333
+ /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./shared */ "./src/menu/shared.js");
42334
+ /* harmony import */ var _menu_item_popup__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./menu_item_popup */ "./src/menu/menu_item_popup.js");
42333
42335
  // LICENSE_CODE ZON
42334
42336
 
42335
42337
 
42336
42338
  /*jslint react:true*/
42337
-
42338
42339
  var _excluded = ["type", "text", "secondaryText", "tertiaryText", "description", "size", "children", "variant", "tag", "disabled", "selected", "subMenu", "tooltip", "isFirstItem", "icon", "iconPlacement"],
42339
42340
  _excluded2 = ["isLeft"],
42340
- _excluded3 = ["subItems", "children"],
42341
- _excluded4 = ["popover", "onClick"];
42341
+ _excluded3 = ["subItems", "popupPlacement", "popupClassName", "popupTrigger", "popupStyle"];
42342
42342
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
42343
42343
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
42344
42344
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
@@ -42354,7 +42354,8 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
42354
42354
 
42355
42355
 
42356
42356
 
42357
- var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(function (_ref, ref) {
42357
+
42358
+ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_ref, ref) {
42358
42359
  var _ref$type = _ref.type,
42359
42360
  type = _ref$type === void 0 ? 'item' : _ref$type,
42360
42361
  text = _ref.text,
@@ -42375,7 +42376,7 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(fu
42375
42376
  icon = _ref.icon,
42376
42377
  iconPlacement = _ref.iconPlacement,
42377
42378
  rest = _objectWithoutProperties(_ref, _excluded);
42378
- if (type == 'divider') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_divider__WEBPACK_IMPORTED_MODULE_10__["default"], {
42379
+ if (type == 'divider') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_divider__WEBPACK_IMPORTED_MODULE_9__["default"], {
42379
42380
  ref: ref
42380
42381
  });
42381
42382
  var subItems = buildSubItems(children, {
@@ -42383,13 +42384,13 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(fu
42383
42384
  });
42384
42385
  var isSubMenu = subMenu || subItems;
42385
42386
  if (type == 'group') {
42386
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_11__.MenuItemGroup, _extends({
42387
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_10__.MenuItemGroup, _extends({
42387
42388
  ref: ref,
42388
42389
  text: text,
42389
42390
  isFirstItem: isFirstItem
42390
42391
  }, rest), subItems);
42391
42392
  }
42392
- var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getIconProps)('MenuItem', {
42393
+ var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getIconProps)('MenuItem', {
42393
42394
  size: size,
42394
42395
  icon: icon,
42395
42396
  iconPlacement: iconPlacement
@@ -42398,62 +42399,73 @@ var MenuItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(fu
42398
42399
  iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
42399
42400
  var iconColor = disabled ? 'icon_disabled' : variant == 'negative' ? 'icon_error' : 'icon';
42400
42401
  var labelColor = disabled ? 'text_disabled' : variant == 'negative' ? 'text_error' : 'text';
42401
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_12__.MenuItemContainer, {
42402
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_11__.MenuItemContainer, {
42402
42403
  ref: ref,
42403
42404
  as: tag,
42404
42405
  role: "menuitem"
42405
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_6__.Tooltip2, {
42406
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__.Tooltip2, {
42406
42407
  tooltip: tooltip
42407
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemComp, _extends({}, rest, {
42408
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemComp, _extends({}, rest, {
42408
42409
  "aria-disabled": disabled ? true : undefined,
42409
42410
  size: size,
42410
42411
  role: "button",
42411
42412
  subItems: subItems
42412
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemLeft, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon, _extends({}, iconProps, {
42413
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemLeft, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, _extends({}, iconProps, {
42413
42414
  color: iconColor
42414
- })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemRight, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemText, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(PrimaryText, {
42415
+ })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemRight, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemText, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(PrimaryText, {
42415
42416
  $size: size,
42416
42417
  color: labelColor
42417
- }, text), !isSubMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, !!tertiaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
42418
+ }, text), !isSubMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, !!tertiaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_6__.Label, {
42418
42419
  variant: "sm",
42419
42420
  whiteSpace: "nowrap",
42420
42421
  color: "text_tertiary"
42421
- }, tertiaryText), !!secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryText, null, secondaryText))), !!description && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(Description, null, description))), isSubMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryIcon, {
42422
+ }, tertiaryText), !!secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(SecondaryText, null, secondaryText))), !!description && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Description, null, description))), isSubMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(SecondaryIcon, {
42422
42423
  subMenu: true
42423
- }), !isSubMenu && !secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryIcon, {
42424
+ }), !isSubMenu && !secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(SecondaryIcon, {
42424
42425
  selected: selected
42425
42426
  }))));
42426
42427
  });
42427
42428
  MenuItem.displayName = 'MenuItem';
42428
42429
  MenuItem.propTypes = {
42429
- text: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
42430
- secondaryText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
42431
- tertiaryText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
42432
- description: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
42433
- type: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['item', 'divider', 'group']),
42434
- size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg']),
42435
- icon: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_8__.iconNames),
42430
+ text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
42431
+ secondaryText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
42432
+ tertiaryText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
42433
+ description: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
42434
+ type: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['item', 'divider', 'group']),
42435
+ size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
42436
+ icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_7__.iconNames),
42436
42437
  // XXX alexanderse: PT.arrayOf(PT.shape(MenuItem.propTypes)) cause parse err
42437
- children: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().object)),
42438
- variant: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['default', 'negative']),
42439
- disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
42440
- selected: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
42441
- subMenu: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
42442
- tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)
42443
- };
42444
- var MenuItemComp = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(function (props, ref) {
42445
- var subItems = props.subItems,
42446
- children = props.children,
42447
- rest = _objectWithoutProperties(props, _excluded3);
42448
- if (!subItems) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemButton, _extends({
42438
+ children: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)),
42439
+ variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['default', 'negative']),
42440
+ disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
42441
+ selected: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
42442
+ subMenu: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
42443
+ tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
42444
+ popupPlacement: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
42445
+ popupClassName: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
42446
+ popupTrigger: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([_constants__WEBPACK_IMPORTED_MODULE_3__.PT_TRIGGER, prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(_constants__WEBPACK_IMPORTED_MODULE_3__.PT_TRIGGER)]),
42447
+ popupStyle: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object)
42448
+ };
42449
+ var MenuItemComp = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_ref2, ref) {
42450
+ var subItems = _ref2.subItems,
42451
+ popupPlacement = _ref2.popupPlacement,
42452
+ popupClassName = _ref2.popupClassName,
42453
+ popupTrigger = _ref2.popupTrigger,
42454
+ popupStyle = _ref2.popupStyle,
42455
+ rest = _objectWithoutProperties(_ref2, _excluded3);
42456
+ var button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemButton, _extends({
42449
42457
  ref: ref
42450
- }, rest), children);
42451
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemPopover, _extends({
42452
- ref: ref,
42453
- popoverProps: {
42454
- subItems: subItems
42455
- }
42456
- }, rest), children);
42458
+ }, rest));
42459
+ if (subItems) {
42460
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_popup__WEBPACK_IMPORTED_MODULE_12__.MenuItemPopup, {
42461
+ subItems: subItems,
42462
+ popupPlacement: popupPlacement,
42463
+ popupTrigger: popupTrigger,
42464
+ popupClassName: popupClassName,
42465
+ popupStyle: popupStyle
42466
+ }, button);
42467
+ }
42468
+ return button;
42457
42469
  });
42458
42470
  MenuItemComp.displayName = 'MenuItemComp';
42459
42471
  var sizes = {
@@ -42461,77 +42473,52 @@ var sizes = {
42461
42473
  md: 40,
42462
42474
  lg: 56
42463
42475
  };
42464
- var MenuItemButton = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
42476
+ var MenuItemButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42465
42477
  displayName: "MenuItemButton",
42466
42478
  componentId: "sc-vtiffr-0"
42467
42479
  })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-decoration:none;background:0 none;border:0 none;padding:0 12px;box-sizing:border-box;width:100%;min-width:168px;max-width:540px;height:", ";gap:4px;cursor:", ";&:hover{background-color:", ";}&:hover,:visited,:focus{text-decoration:none;}&:active{background-color:", ";}"], function (props) {
42468
- return (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(sizes[props.size] || sizes.md);
42480
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_7__.toPixel)(sizes[props.size] || sizes.md);
42469
42481
  }, function (props) {
42470
42482
  return props['aria-disabled'] ? 'not-allowed' : 'pointer';
42471
- }, function (_ref2) {
42472
- var color = _ref2.theme.color;
42473
- return color.bg_fill_secondary;
42474
42483
  }, function (_ref3) {
42475
42484
  var color = _ref3.theme.color;
42485
+ return color.bg_fill_secondary;
42486
+ }, function (_ref4) {
42487
+ var color = _ref4.theme.color;
42476
42488
  return color.bg_fill_primary_secondary;
42477
42489
  });
42478
- var MenuItemPopoverTrigger = function MenuItemPopoverTrigger(props) {
42479
- var popover = props.popover,
42480
- onClick = props.onClick,
42481
- rest = _objectWithoutProperties(props, _excluded4);
42482
- var buttonProps = lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'isOpen');
42483
- var _onClick = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function (evt) {
42484
- onClick === null || onClick === void 0 || onClick(evt);
42485
- popover.toggle();
42486
- }, [onClick, popover.toggle]);
42487
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemButton, _extends({}, buttonProps, {
42488
- onClick: _onClick
42489
- }));
42490
- };
42491
- var MenuItemPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_4__.withPopover)(MenuItemPopoverTrigger, function (props) {
42492
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_12__.MenuContainer, {
42493
- onClick: props.popover.hide
42494
- }, props.subItems);
42495
- }, {
42496
- placement: 'right-start',
42497
- wrapperStyle: {
42498
- width: '100%'
42499
- },
42500
- swallowOutsideClick: false
42501
- });
42502
- var MenuItemLeft = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
42490
+ var MenuItemLeft = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42503
42491
  displayName: "MenuItemLeft",
42504
42492
  componentId: "sc-vtiffr-1"
42505
42493
  })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-width:0;"]);
42506
- var MenuItemRight = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
42494
+ var MenuItemRight = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42507
42495
  displayName: "MenuItemRight",
42508
42496
  componentId: "sc-vtiffr-2"
42509
42497
  })(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;width:100%;min-width:0;"]);
42510
- var MenuItemText = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
42498
+ var MenuItemText = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
42511
42499
  displayName: "MenuItemText",
42512
42500
  componentId: "sc-vtiffr-3"
42513
42501
  })(["display:flex;align-items:center;justify-content:flex-start;width:100%;gap:8px;"]);
42514
- var SecondaryIcon = function SecondaryIcon(props) {
42515
- var subMenu = props.subMenu,
42516
- selected = props.selected;
42517
- if (subMenu) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(RightIcon, {
42502
+ var SecondaryIcon = function SecondaryIcon(_ref5) {
42503
+ var subMenu = _ref5.subMenu,
42504
+ selected = _ref5.selected;
42505
+ if (subMenu) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RightIcon, {
42518
42506
  name: "ChevronRight",
42519
42507
  color: "icon"
42520
42508
  });
42521
- if (selected) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(RightIcon, {
42509
+ if (selected) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RightIcon, {
42522
42510
  name: "Check",
42523
42511
  color: "icon_primary"
42524
42512
  });
42525
42513
  return null;
42526
42514
  };
42527
- SecondaryIcon.displayName = 'SecondaryIcon';
42528
- var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon).attrs({
42515
+ var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon).attrs({
42529
42516
  size: 'xs'
42530
42517
  }).withConfig({
42531
42518
  displayName: "RightIcon",
42532
42519
  componentId: "sc-vtiffr-4"
42533
42520
  })(["margin-left:auto;"]);
42534
- var PrimaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs(function (props) {
42521
+ var PrimaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_6__.Label).attrs(function (props) {
42535
42522
  return {
42536
42523
  variant: props.$size == 'lg' ? 'lg' : 'sm',
42537
42524
  whiteSpace: 'nowrap'
@@ -42540,7 +42527,7 @@ var PrimaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typo
42540
42527
  displayName: "PrimaryText",
42541
42528
  componentId: "sc-vtiffr-5"
42542
42529
  })(["overflow-x:clip;text-overflow:ellipsis;"]);
42543
- var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs({
42530
+ var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_6__.Label).attrs({
42544
42531
  variant: 'sm',
42545
42532
  color: 'text_secondary',
42546
42533
  whiteSpace: 'nowrap'
@@ -42548,7 +42535,7 @@ var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_ty
42548
42535
  displayName: "SecondaryText",
42549
42536
  componentId: "sc-vtiffr-6"
42550
42537
  })(["margin-left:auto;"]);
42551
- var Description = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs({
42538
+ var Description = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_6__.Label).attrs({
42552
42539
  variant: 'xs',
42553
42540
  color: 'text_tertiary',
42554
42541
  whiteSpace: 'nowrap'
@@ -42558,7 +42545,7 @@ var Description = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typo
42558
42545
  })(["width:100%;overflow-x:clip;text-overflow:ellipsis;"]);
42559
42546
  var buildSubItems = function buildSubItems(children, itemProps) {
42560
42547
  return Array.isArray(children) && children.length > 0 ? children.map(function (item, ind) {
42561
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_9__.Menu.Item, _extends({
42548
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_8__.Menu.Item, _extends({
42562
42549
  key: item.key
42563
42550
  }, item, itemProps, {
42564
42551
  isFirstItem: ind == 0
@@ -42663,6 +42650,190 @@ var GroupTitle = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_typog
42663
42650
 
42664
42651
  /***/ }),
42665
42652
 
42653
+ /***/ "./src/menu/menu_item_popup.js":
42654
+ /*!*************************************!*\
42655
+ !*** ./src/menu/menu_item_popup.js ***!
42656
+ \*************************************/
42657
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
42658
+
42659
+ "use strict";
42660
+ __webpack_require__.r(__webpack_exports__);
42661
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
42662
+ /* harmony export */ MenuItemPopup: () => (/* binding */ MenuItemPopup)
42663
+ /* harmony export */ });
42664
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
42665
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
42666
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! styled-components */ "styled-components");
42667
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
42668
+ /* harmony import */ var _rc_component_trigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @rc-component/trigger */ "./node_modules/@rc-component/trigger/es/index.js");
42669
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
42670
+ /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./shared */ "./src/menu/shared.js");
42671
+ /* harmony import */ var _placements__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./placements */ "./src/menu/placements.js");
42672
+ // LICENSE_CODE ZON
42673
+
42674
+
42675
+ /*jslint react:true*/
42676
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
42677
+ 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."); }
42678
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
42679
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
42680
+ 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; } }
42681
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
42682
+
42683
+
42684
+
42685
+
42686
+
42687
+
42688
+ var prefixCls = 'uikit_menu_popup';
42689
+ var MenuItemPopup = function MenuItemPopup(_ref) {
42690
+ var subItems = _ref.subItems,
42691
+ _ref$popupPlacement = _ref.popupPlacement,
42692
+ popupPlacement = _ref$popupPlacement === void 0 ? 'right' : _ref$popupPlacement,
42693
+ popupClassName = _ref.popupClassName,
42694
+ _ref$popupTrigger = _ref.popupTrigger,
42695
+ popupTrigger = _ref$popupTrigger === void 0 ? 'click' : _ref$popupTrigger,
42696
+ popupStyle = _ref.popupStyle,
42697
+ children = _ref.children;
42698
+ var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
42699
+ _useState2 = _slicedToArray(_useState, 2),
42700
+ visible = _useState2[0],
42701
+ setVisible = _useState2[1];
42702
+ var popupMotion = {
42703
+ motionName: "".concat(prefixCls, "-motion"),
42704
+ motionAppear: true,
42705
+ motionEnter: true,
42706
+ motionLeave: true,
42707
+ motionDeadline: 500
42708
+ };
42709
+ 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(MenuItemPopupStyle, {
42710
+ $prefixCls: prefixCls
42711
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_rc_component_trigger__WEBPACK_IMPORTED_MODULE_2__["default"], {
42712
+ prefixCls: prefixCls,
42713
+ mask: true,
42714
+ action: popupTrigger,
42715
+ popupPlacement: popupPlacement,
42716
+ popupMotion: popupMotion,
42717
+ popupClassName: popupClassName,
42718
+ popupStyle: popupStyle,
42719
+ popupVisible: visible,
42720
+ onPopupVisibleChange: setVisible,
42721
+ builtinPlacements: _placements__WEBPACK_IMPORTED_MODULE_5__.placements,
42722
+ zIndex: _constants__WEBPACK_IMPORTED_MODULE_3__.Z_INDEX.popover,
42723
+ popup: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_4__.MenuContainer, {
42724
+ onClick: function onClick() {
42725
+ return setVisible(false);
42726
+ }
42727
+ }, subItems)
42728
+ }, children));
42729
+ };
42730
+ var MenuItemPopupStyle = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.createGlobalStyle)([".", "{position:absolute;display:block;visibility:visible;width:fit-content;max-width:min(500px,80vw);background-color:transparent;&-hidden{display:none;}&-mask{position:fixed;inset:0;pointer-events:none;&-hidden{display:none;}}&-motion{&-enter,&-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-enter&-enter-active,&-appear&-appear-active{animation-name:rcMenuPopupZoomIn;animation-play-state:running;}&-leave&-leave-active{animation-name:rcMenuPopupZoomOut;animation-play-state:running;}}@keyframes rcMenuPopupZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcMenuPopupZoomOut{0%{transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], function (p) {
42731
+ return p.$prefixCls;
42732
+ });
42733
+
42734
+ /***/ }),
42735
+
42736
+ /***/ "./src/menu/placements.js":
42737
+ /*!********************************!*\
42738
+ !*** ./src/menu/placements.js ***!
42739
+ \********************************/
42740
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
42741
+
42742
+ "use strict";
42743
+ __webpack_require__.r(__webpack_exports__);
42744
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
42745
+ /* harmony export */ placements: () => (/* binding */ placements)
42746
+ /* harmony export */ });
42747
+ // LICENSE_CODE ZON
42748
+
42749
+
42750
+ /*jslint react:true*/
42751
+ var autoAdjustOverflowTopBottom = {
42752
+ shiftX: 64,
42753
+ adjustY: 1
42754
+ };
42755
+ var autoAdjustOverflowLeftRight = {
42756
+ adjustX: 1,
42757
+ shiftY: true
42758
+ };
42759
+ var targetOffset = [0, 0];
42760
+ var placements = {
42761
+ top: {
42762
+ points: ['bc', 'tc'],
42763
+ overflow: autoAdjustOverflowTopBottom,
42764
+ offset: [0, -6],
42765
+ targetOffset: [-6, 0]
42766
+ },
42767
+ topLeft: {
42768
+ points: ['bl', 'tl'],
42769
+ overflow: autoAdjustOverflowTopBottom,
42770
+ offset: [-12, -6],
42771
+ targetOffset: [-6, 0]
42772
+ },
42773
+ topRight: {
42774
+ points: ['br', 'tr'],
42775
+ overflow: autoAdjustOverflowTopBottom,
42776
+ offset: [12, -6],
42777
+ targetOffset: [-6, 0]
42778
+ },
42779
+ bottom: {
42780
+ points: ['tc', 'bc'],
42781
+ overflow: autoAdjustOverflowTopBottom,
42782
+ offset: [0, 6],
42783
+ targetOffset: [-6, 0]
42784
+ },
42785
+ bottomLeft: {
42786
+ points: ['tl', 'bl'],
42787
+ overflow: autoAdjustOverflowTopBottom,
42788
+ offset: [-12, 6],
42789
+ targetOffset: [-6, 0]
42790
+ },
42791
+ bottomRight: {
42792
+ points: ['tr', 'br'],
42793
+ overflow: autoAdjustOverflowTopBottom,
42794
+ offset: [12, 6],
42795
+ targetOffset: [-6, 0]
42796
+ },
42797
+ left: {
42798
+ points: ['cr', 'cl'],
42799
+ overflow: autoAdjustOverflowLeftRight,
42800
+ offset: [-6, 0],
42801
+ targetOffset: targetOffset
42802
+ },
42803
+ leftTop: {
42804
+ points: ['tr', 'tl'],
42805
+ overflow: autoAdjustOverflowLeftRight,
42806
+ offset: [-6, 0],
42807
+ targetOffset: [0, 6]
42808
+ },
42809
+ leftBottom: {
42810
+ points: ['br', 'bl'],
42811
+ overflow: autoAdjustOverflowLeftRight,
42812
+ offset: [-6, 6],
42813
+ targetOffset: targetOffset
42814
+ },
42815
+ right: {
42816
+ points: ['cl', 'cr'],
42817
+ overflow: autoAdjustOverflowLeftRight,
42818
+ offset: [6, 0],
42819
+ targetOffset: targetOffset
42820
+ },
42821
+ rightTop: {
42822
+ points: ['tl', 'tr'],
42823
+ overflow: autoAdjustOverflowLeftRight,
42824
+ offset: [6, 0],
42825
+ targetOffset: [0, 6]
42826
+ },
42827
+ rightBottom: {
42828
+ points: ['bl', 'br'],
42829
+ overflow: autoAdjustOverflowLeftRight,
42830
+ offset: [6, 6],
42831
+ targetOffset: targetOffset
42832
+ }
42833
+ };
42834
+
42835
+ /***/ }),
42836
+
42666
42837
  /***/ "./src/menu/shared.js":
42667
42838
  /*!****************************!*\
42668
42839
  !*** ./src/menu/shared.js ***!
@@ -43332,7 +43503,7 @@ var Modal2 = function Modal2(_ref) {
43332
43503
  cancelProps = _ref.cancelProps,
43333
43504
  icon = _ref.icon,
43334
43505
  _ref$zIndex = _ref.zIndex,
43335
- zIndex = _ref$zIndex === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_7__.Z_INDEX.popover : _ref$zIndex,
43506
+ zIndex = _ref$zIndex === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_7__.Z_INDEX.modal : _ref$zIndex,
43336
43507
  children = _ref.children,
43337
43508
  _ref$minHeight = _ref.minHeight,
43338
43509
  minHeight = _ref$minHeight === void 0 ? 300 : _ref$minHeight,
@@ -49992,7 +50163,6 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
49992
50163
 
49993
50164
 
49994
50165
 
49995
- var PT_TRIGGER = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['hover', 'click', 'focus', 'contextMenu']);
49996
50166
  var _Tooltip = function Tooltip2(_ref) {
49997
50167
  var id = _ref.id,
49998
50168
  className = _ref.className,
@@ -50042,7 +50212,7 @@ _Tooltip.propTypes = {
50042
50212
  className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
50043
50213
  classNamePrefix: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
50044
50214
  variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['black', 'white']),
50045
- trigger: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([PT_TRIGGER, prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(PT_TRIGGER)]),
50215
+ trigger: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([_constants__WEBPACK_IMPORTED_MODULE_5__.PT_TRIGGER, prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(_constants__WEBPACK_IMPORTED_MODULE_5__.PT_TRIGGER)]),
50046
50216
  visible: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
50047
50217
  placement: _constants__WEBPACK_IMPORTED_MODULE_5__.PT_TOOLTIP_PLACEMENT,
50048
50218
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),