@luminati-io/uikit 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -26192,22 +26192,24 @@ __webpack_require__.r(__webpack_exports__);
26192
26192
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
26193
26193
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
26194
26194
  /* harmony export */ });
26195
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
26196
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
26197
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
26198
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
26199
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
26200
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
26201
- /* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hoc */ "./src/hoc/index.js");
26202
- /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
26203
- /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
26204
- /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip.js");
26205
- /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
26206
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
26207
- /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./menu */ "./src/menu/menu.js");
26208
- /* harmony import */ var _menu_item_divider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./menu_item_divider */ "./src/menu/menu_item_divider.js");
26209
- /* harmony import */ var _menu_item_group__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./menu_item_group */ "./src/menu/menu_item_group.js");
26210
- /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./shared */ "./src/menu/shared.js");
26195
+ /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
26196
+ /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
26197
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
26198
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
26199
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
26200
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
26201
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! styled-components */ "styled-components");
26202
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
26203
+ /* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hoc */ "./src/hoc/index.js");
26204
+ /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
26205
+ /* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
26206
+ /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip.js");
26207
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
26208
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
26209
+ /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./menu */ "./src/menu/menu.js");
26210
+ /* harmony import */ var _menu_item_divider__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./menu_item_divider */ "./src/menu/menu_item_divider.js");
26211
+ /* harmony import */ var _menu_item_group__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./menu_item_group */ "./src/menu/menu_item_group.js");
26212
+ /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./shared */ "./src/menu/shared.js");
26211
26213
  // LICENSE_CODE ZON
26212
26214
 
26213
26215
 
@@ -26232,7 +26234,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
26232
26234
 
26233
26235
 
26234
26236
 
26235
- var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
26237
+
26238
+ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {
26236
26239
  var type = props.type,
26237
26240
  text = props.text,
26238
26241
  secondaryText = props.secondaryText,
@@ -26248,7 +26251,7 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
26248
26251
  tooltip = props.tooltip,
26249
26252
  isFirstItem = props.isFirstItem,
26250
26253
  rest = _objectWithoutProperties(props, _excluded);
26251
- if (type == 'divider') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_divider__WEBPACK_IMPORTED_MODULE_10__["default"], {
26254
+ if (type == 'divider') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_divider__WEBPACK_IMPORTED_MODULE_11__["default"], {
26252
26255
  ref: ref
26253
26256
  });
26254
26257
  var subItems = buildSubItems(children, {
@@ -26256,41 +26259,41 @@ var MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
26256
26259
  });
26257
26260
  var isSubMenu = subMenu || subItems;
26258
26261
  if (type == 'group') {
26259
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_11__["default"], _extends({
26262
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu_item_group__WEBPACK_IMPORTED_MODULE_12__["default"], _extends({
26260
26263
  ref: ref,
26261
26264
  text: text,
26262
26265
  isFirstItem: isFirstItem
26263
26266
  }, rest), subItems);
26264
26267
  }
26265
- var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getIconProps)('MenuItem', props),
26268
+ var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getIconProps)('MenuItem', props),
26266
26269
  isLeft = _getIconProps.isLeft,
26267
26270
  iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
26268
26271
  var iconColor = disabled ? 'gray_6' : variant == 'negative' ? 'red_10' : 'gray_9';
26269
26272
  var labelColor = disabled ? 'gray_9' : variant == 'negative' ? 'red_11' : 'gray_11_50';
26270
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_12__.MenuItemContainer, {
26273
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_13__.MenuItemContainer, {
26271
26274
  ref: ref,
26272
26275
  as: tag,
26273
26276
  role: "menuitem"
26274
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_6__["default"], {
26277
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_7__["default"], {
26275
26278
  tooltip: tooltip,
26276
26279
  noWrap: true
26277
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemComp, _extends({}, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCommonProps)(props), {
26280
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemComp, _extends({}, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'icon', 'iconPlacement'), {
26278
26281
  "aria-disabled": disabled ? '' : undefined,
26279
26282
  size: size,
26280
26283
  role: "button",
26281
26284
  subItems: subItems
26282
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemLeft, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__["default"], _extends({}, iconProps, {
26285
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemLeft, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__["default"], _extends({}, iconProps, {
26283
26286
  color: iconColor
26284
- })), /*#__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, {
26287
+ })), /*#__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, {
26285
26288
  no_wrap: true,
26286
26289
  color: labelColor
26287
- }, 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_7__.Label, {
26290
+ }, 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_8__.Label, {
26288
26291
  variant: "sm",
26289
26292
  no_wrap: true,
26290
26293
  color: "gray_9"
26291
- }, 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, {
26294
+ }, 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, {
26292
26295
  subMenu: true
26293
- }), !isSubMenu && !secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(SecondaryIcon, {
26296
+ }), !isSubMenu && !secondaryText && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(SecondaryIcon, {
26294
26297
  selected: selected
26295
26298
  }))));
26296
26299
  });
@@ -26301,28 +26304,28 @@ MenuItem.defaultProps = {
26301
26304
  variant: 'default'
26302
26305
  };
26303
26306
  MenuItem.propTypes = {
26304
- text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
26305
- secondaryText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
26306
- tertiaryText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
26307
- description: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
26308
- type: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['item', 'divider', 'group']),
26309
- size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md']),
26310
- icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_8__.iconNames),
26311
- children: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape(MenuItem.propTypes)),
26312
- variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['default', 'negative']),
26313
- disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
26314
- selected: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
26315
- subMenu: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
26316
- tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
26307
+ text: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
26308
+ secondaryText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
26309
+ tertiaryText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node),
26310
+ description: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
26311
+ type: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['item', 'divider', 'group']),
26312
+ size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md']),
26313
+ icon: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_9__.iconNames),
26314
+ children: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape(MenuItem.propTypes)),
26315
+ variant: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['default', 'negative']),
26316
+ disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
26317
+ selected: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
26318
+ subMenu: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
26319
+ tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
26317
26320
  };
26318
- var MenuItemComp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
26321
+ var MenuItemComp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {
26319
26322
  var subItems = props.subItems,
26320
26323
  children = props.children,
26321
26324
  rest = _objectWithoutProperties(props, _excluded3);
26322
- if (!subItems) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemButton, _extends({
26325
+ if (!subItems) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemButton, _extends({
26323
26326
  ref: ref
26324
26327
  }, rest), children);
26325
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemPopover, _extends({
26328
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemPopover, _extends({
26326
26329
  ref: ref,
26327
26330
  popoverProps: {
26328
26331
  subItems: subItems
@@ -26330,22 +26333,22 @@ var MenuItemComp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().for
26330
26333
  }, rest), children);
26331
26334
  });
26332
26335
  MenuItemComp.displayName = 'MenuItemComp';
26333
- var MenuItemButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
26336
+ var MenuItemButton = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
26334
26337
  displayName: "MenuItemButton",
26335
26338
  componentId: "sc-vtiffr-0"
26336
26339
  })(["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) {
26337
- return (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(props.size == 'sm' ? 32 : 40);
26340
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_9__.toPixel)(props.size == 'sm' ? 32 : 40);
26338
26341
  }, function (props) {
26339
26342
  return props['aria-disabled'] ? 'not-allowed' : 'pointer';
26340
- }, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_5__["default"].color.gray_4);
26341
- var MenuItemPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopover)(function (_ref) {
26343
+ }, _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_2, _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_4);
26344
+ var MenuItemPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_4__.withPopover)(function (_ref) {
26342
26345
  var popover = _ref.popover,
26343
26346
  rest = _objectWithoutProperties(_ref, _excluded4);
26344
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(MenuItemButton, _extends({}, rest, {
26347
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(MenuItemButton, _extends({}, rest, {
26345
26348
  onClick: popover.toggle
26346
26349
  }));
26347
26350
  }, function (props) {
26348
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_12__.MenuContainer, {
26351
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_13__.MenuContainer, {
26349
26352
  onClick: props.popover.hide
26350
26353
  }, props.subItems);
26351
26354
  }, {
@@ -26354,45 +26357,45 @@ var MenuItemPopover = (0,_hoc__WEBPACK_IMPORTED_MODULE_3__.withPopover)(function
26354
26357
  width: '100%'
26355
26358
  }
26356
26359
  });
26357
- var MenuItemLeft = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
26360
+ var MenuItemLeft = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
26358
26361
  displayName: "MenuItemLeft",
26359
26362
  componentId: "sc-vtiffr-1"
26360
26363
  })(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-width:0;"]);
26361
- var MenuItemRight = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
26364
+ var MenuItemRight = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
26362
26365
  displayName: "MenuItemRight",
26363
26366
  componentId: "sc-vtiffr-2"
26364
26367
  })(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;width:100%;min-width:0;"]);
26365
- var MenuItemText = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
26368
+ var MenuItemText = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
26366
26369
  displayName: "MenuItemText",
26367
26370
  componentId: "sc-vtiffr-3"
26368
26371
  })(["display:flex;align-items:center;justify-content:flex-start;width:100%;gap:8px;"]);
26369
26372
  var SecondaryIcon = function SecondaryIcon(props) {
26370
26373
  var subMenu = props.subMenu,
26371
26374
  selected = props.selected;
26372
- if (subMenu) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RightIcon, {
26375
+ if (subMenu) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(RightIcon, {
26373
26376
  name: "ChevronRight"
26374
26377
  });
26375
- if (selected) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RightIcon, {
26378
+ if (selected) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(RightIcon, {
26376
26379
  name: "Check",
26377
26380
  color: "blue_11"
26378
26381
  });
26379
26382
  return null;
26380
26383
  };
26381
26384
  SecondaryIcon.displayName = 'SecondaryIcon';
26382
- var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon__WEBPACK_IMPORTED_MODULE_4__["default"]).attrs({
26385
+ var RightIcon = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_icon__WEBPACK_IMPORTED_MODULE_5__["default"]).attrs({
26383
26386
  size: 'xs'
26384
26387
  }).withConfig({
26385
26388
  displayName: "RightIcon",
26386
26389
  componentId: "sc-vtiffr-4"
26387
26390
  })(["margin-left:auto;"]);
26388
- var PrimaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs({
26391
+ var PrimaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_8__.Label).attrs({
26389
26392
  variant: 'sm',
26390
26393
  no_wrap: true
26391
26394
  }).withConfig({
26392
26395
  displayName: "PrimaryText",
26393
26396
  componentId: "sc-vtiffr-5"
26394
26397
  })(["overflow-x:clip;text-overflow:ellipsis;"]);
26395
- var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs({
26398
+ var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_8__.Label).attrs({
26396
26399
  variant: 'sm',
26397
26400
  color: 'gray_9',
26398
26401
  no_wrap: true
@@ -26400,7 +26403,7 @@ var SecondaryText = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_ty
26400
26403
  displayName: "SecondaryText",
26401
26404
  componentId: "sc-vtiffr-6"
26402
26405
  })(["margin-left:auto;"]);
26403
- var Description = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typography__WEBPACK_IMPORTED_MODULE_7__.Label).attrs({
26406
+ var Description = styled_components__WEBPACK_IMPORTED_MODULE_3___default()(_typography__WEBPACK_IMPORTED_MODULE_8__.Label).attrs({
26404
26407
  variant: 'xs',
26405
26408
  color: 'gray_9',
26406
26409
  no_wrap: true
@@ -26410,7 +26413,7 @@ var Description = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_typo
26410
26413
  })(["width:100%;overflow-x:clip;text-overflow:ellipsis;"]);
26411
26414
  var buildSubItems = function buildSubItems(children, itemProps) {
26412
26415
  return Array.isArray(children) && children.length > 0 ? children.map(function (item, ind) {
26413
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_9__["default"].Item, _extends({
26416
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_10__["default"].Item, _extends({
26414
26417
  key: item.key
26415
26418
  }, item, itemProps, {
26416
26419
  isFirstItem: ind == 0
@@ -45157,6 +45160,37 @@ function baseClamp(number, lower, upper) {
45157
45160
  module.exports = baseClamp;
45158
45161
 
45159
45162
 
45163
+ /***/ }),
45164
+
45165
+ /***/ "./node_modules/lodash/_baseClone.js":
45166
+ /*!*******************************************!*\
45167
+ !*** ./node_modules/lodash/_baseClone.js ***!
45168
+ \*******************************************/
45169
+ /***/ ((module) => {
45170
+
45171
+ /**
45172
+ * This method returns the first argument it receives.
45173
+ *
45174
+ * @static
45175
+ * @since 0.1.0
45176
+ * @memberOf _
45177
+ * @category Util
45178
+ * @param {*} value Any value.
45179
+ * @returns {*} Returns `value`.
45180
+ * @example
45181
+ *
45182
+ * var object = { 'a': 1 };
45183
+ *
45184
+ * console.log(_.identity(object) === object);
45185
+ * // => true
45186
+ */
45187
+ function identity(value) {
45188
+ return value;
45189
+ }
45190
+
45191
+ module.exports = identity;
45192
+
45193
+
45160
45194
  /***/ }),
45161
45195
 
45162
45196
  /***/ "./node_modules/lodash/_baseGet.js":
@@ -45385,6 +45419,36 @@ function baseSlice(array, start, end) {
45385
45419
  module.exports = baseSlice;
45386
45420
 
45387
45421
 
45422
+ /***/ }),
45423
+
45424
+ /***/ "./node_modules/lodash/_baseUnset.js":
45425
+ /*!*******************************************!*\
45426
+ !*** ./node_modules/lodash/_baseUnset.js ***!
45427
+ \*******************************************/
45428
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
45429
+
45430
+ var castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
45431
+ last = __webpack_require__(/*! ./last */ "./node_modules/lodash/last.js"),
45432
+ parent = __webpack_require__(/*! ./_parent */ "./node_modules/lodash/_parent.js"),
45433
+ toKey = __webpack_require__(/*! ./_toKey */ "./node_modules/lodash/_toKey.js");
45434
+
45435
+ /**
45436
+ * The base implementation of `_.unset`.
45437
+ *
45438
+ * @private
45439
+ * @param {Object} object The object to modify.
45440
+ * @param {Array|string} path The property path to unset.
45441
+ * @returns {boolean} Returns `true` if the property is deleted, else `false`.
45442
+ */
45443
+ function baseUnset(object, path) {
45444
+ path = castPath(path, object);
45445
+ object = parent(object, path);
45446
+ return object == null || delete object[toKey(last(path))];
45447
+ }
45448
+
45449
+ module.exports = baseUnset;
45450
+
45451
+
45388
45452
  /***/ }),
45389
45453
 
45390
45454
  /***/ "./node_modules/lodash/_castPath.js":
@@ -45467,6 +45531,56 @@ function castSlice(array, start, end) {
45467
45531
  module.exports = castSlice;
45468
45532
 
45469
45533
 
45534
+ /***/ }),
45535
+
45536
+ /***/ "./node_modules/lodash/_copyObject.js":
45537
+ /*!********************************************!*\
45538
+ !*** ./node_modules/lodash/_copyObject.js ***!
45539
+ \********************************************/
45540
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
45541
+
45542
+ var assignValue = __webpack_require__(/*! ./_assignValue */ "./node_modules/lodash/_assignValue.js"),
45543
+ baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ "./node_modules/lodash/_baseAssignValue.js");
45544
+
45545
+ /**
45546
+ * Copies properties of `source` to `object`.
45547
+ *
45548
+ * @private
45549
+ * @param {Object} source The object to copy properties from.
45550
+ * @param {Array} props The property identifiers to copy.
45551
+ * @param {Object} [object={}] The object to copy properties to.
45552
+ * @param {Function} [customizer] The function to customize copied values.
45553
+ * @returns {Object} Returns `object`.
45554
+ */
45555
+ function copyObject(source, props, object, customizer) {
45556
+ var isNew = !object;
45557
+ object || (object = {});
45558
+
45559
+ var index = -1,
45560
+ length = props.length;
45561
+
45562
+ while (++index < length) {
45563
+ var key = props[index];
45564
+
45565
+ var newValue = customizer
45566
+ ? customizer(object[key], source[key], key, object, source)
45567
+ : undefined;
45568
+
45569
+ if (newValue === undefined) {
45570
+ newValue = source[key];
45571
+ }
45572
+ if (isNew) {
45573
+ baseAssignValue(object, key, newValue);
45574
+ } else {
45575
+ assignValue(object, key, newValue);
45576
+ }
45577
+ }
45578
+ return object;
45579
+ }
45580
+
45581
+ module.exports = copyObject;
45582
+
45583
+
45470
45584
  /***/ }),
45471
45585
 
45472
45586
  /***/ "./node_modules/lodash/_createCaseFirst.js":
@@ -45510,6 +45624,32 @@ function createCaseFirst(methodName) {
45510
45624
  module.exports = createCaseFirst;
45511
45625
 
45512
45626
 
45627
+ /***/ }),
45628
+
45629
+ /***/ "./node_modules/lodash/_customOmitClone.js":
45630
+ /*!*************************************************!*\
45631
+ !*** ./node_modules/lodash/_customOmitClone.js ***!
45632
+ \*************************************************/
45633
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
45634
+
45635
+ var isPlainObject = __webpack_require__(/*! ./isPlainObject */ "./node_modules/lodash/isPlainObject.js");
45636
+
45637
+ /**
45638
+ * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
45639
+ * objects.
45640
+ *
45641
+ * @private
45642
+ * @param {*} value The value to inspect.
45643
+ * @param {string} key The key of the property to inspect.
45644
+ * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
45645
+ */
45646
+ function customOmitClone(value) {
45647
+ return isPlainObject(value) ? undefined : value;
45648
+ }
45649
+
45650
+ module.exports = customOmitClone;
45651
+
45652
+
45513
45653
  /***/ }),
45514
45654
 
45515
45655
  /***/ "./node_modules/lodash/_defineProperty.js":
@@ -45531,6 +45671,37 @@ var defineProperty = (function() {
45531
45671
  module.exports = defineProperty;
45532
45672
 
45533
45673
 
45674
+ /***/ }),
45675
+
45676
+ /***/ "./node_modules/lodash/_flatRest.js":
45677
+ /*!******************************************!*\
45678
+ !*** ./node_modules/lodash/_flatRest.js ***!
45679
+ \******************************************/
45680
+ /***/ ((module) => {
45681
+
45682
+ /**
45683
+ * This method returns the first argument it receives.
45684
+ *
45685
+ * @static
45686
+ * @since 0.1.0
45687
+ * @memberOf _
45688
+ * @category Util
45689
+ * @param {*} value Any value.
45690
+ * @returns {*} Returns `value`.
45691
+ * @example
45692
+ *
45693
+ * var object = { 'a': 1 };
45694
+ *
45695
+ * console.log(_.identity(object) === object);
45696
+ * // => true
45697
+ */
45698
+ function identity(value) {
45699
+ return value;
45700
+ }
45701
+
45702
+ module.exports = identity;
45703
+
45704
+
45534
45705
  /***/ }),
45535
45706
 
45536
45707
  /***/ "./node_modules/lodash/_freeGlobal.js":
@@ -45598,6 +45769,22 @@ function getValue(object, key) {
45598
45769
  module.exports = getValue;
45599
45770
 
45600
45771
 
45772
+ /***/ }),
45773
+
45774
+ /***/ "./node_modules/lodash/_getPrototype.js":
45775
+ /*!**********************************************!*\
45776
+ !*** ./node_modules/lodash/_getPrototype.js ***!
45777
+ \**********************************************/
45778
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
45779
+
45780
+ var overArg = __webpack_require__(/*! ./_overArg */ "./node_modules/lodash/_overArg.js");
45781
+
45782
+ /** Built-in value references. */
45783
+ var getPrototype = overArg(Object.getPrototypeOf, Object);
45784
+
45785
+ module.exports = getPrototype;
45786
+
45787
+
45601
45788
  /***/ }),
45602
45789
 
45603
45790
  /***/ "./node_modules/lodash/_hasUnicode.js":
@@ -45820,6 +46007,62 @@ function listCacheSet(key, value) {
45820
46007
  module.exports = listCacheSet;
45821
46008
 
45822
46009
 
46010
+ /***/ }),
46011
+
46012
+ /***/ "./node_modules/lodash/_overArg.js":
46013
+ /*!*****************************************!*\
46014
+ !*** ./node_modules/lodash/_overArg.js ***!
46015
+ \*****************************************/
46016
+ /***/ ((module) => {
46017
+
46018
+ /**
46019
+ * Creates a unary function that invokes `func` with its argument transformed.
46020
+ *
46021
+ * @private
46022
+ * @param {Function} func The function to wrap.
46023
+ * @param {Function} transform The argument transform.
46024
+ * @returns {Function} Returns the new function.
46025
+ */
46026
+ function overArg(func, transform) {
46027
+ return function(arg) {
46028
+ return func(transform(arg));
46029
+ };
46030
+ }
46031
+
46032
+ module.exports = overArg;
46033
+
46034
+
46035
+ /***/ }),
46036
+
46037
+ /***/ "./node_modules/lodash/_parent.js":
46038
+ /*!****************************************!*\
46039
+ !*** ./node_modules/lodash/_parent.js ***!
46040
+ \****************************************/
46041
+ /***/ ((module) => {
46042
+
46043
+ /**
46044
+ * This method returns the first argument it receives.
46045
+ *
46046
+ * @static
46047
+ * @since 0.1.0
46048
+ * @memberOf _
46049
+ * @category Util
46050
+ * @param {*} value Any value.
46051
+ * @returns {*} Returns `value`.
46052
+ * @example
46053
+ *
46054
+ * var object = { 'a': 1 };
46055
+ *
46056
+ * console.log(_.identity(object) === object);
46057
+ * // => true
46058
+ */
46059
+ function identity(value) {
46060
+ return value;
46061
+ }
46062
+
46063
+ module.exports = identity;
46064
+
46065
+
45823
46066
  /***/ }),
45824
46067
 
45825
46068
  /***/ "./node_modules/lodash/_root.js":
@@ -46333,6 +46576,78 @@ function isObjectLike(value) {
46333
46576
  module.exports = isObjectLike;
46334
46577
 
46335
46578
 
46579
+ /***/ }),
46580
+
46581
+ /***/ "./node_modules/lodash/isPlainObject.js":
46582
+ /*!**********************************************!*\
46583
+ !*** ./node_modules/lodash/isPlainObject.js ***!
46584
+ \**********************************************/
46585
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
46586
+
46587
+ var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "./node_modules/lodash/_baseGetTag.js"),
46588
+ getPrototype = __webpack_require__(/*! ./_getPrototype */ "./node_modules/lodash/_getPrototype.js"),
46589
+ isObjectLike = __webpack_require__(/*! ./isObjectLike */ "./node_modules/lodash/isObjectLike.js");
46590
+
46591
+ /** `Object#toString` result references. */
46592
+ var objectTag = '[object Object]';
46593
+
46594
+ /** Used for built-in method references. */
46595
+ var funcProto = Function.prototype,
46596
+ objectProto = Object.prototype;
46597
+
46598
+ /** Used to resolve the decompiled source of functions. */
46599
+ var funcToString = funcProto.toString;
46600
+
46601
+ /** Used to check objects for own properties. */
46602
+ var hasOwnProperty = objectProto.hasOwnProperty;
46603
+
46604
+ /** Used to infer the `Object` constructor. */
46605
+ var objectCtorString = funcToString.call(Object);
46606
+
46607
+ /**
46608
+ * Checks if `value` is a plain object, that is, an object created by the
46609
+ * `Object` constructor or one with a `[[Prototype]]` of `null`.
46610
+ *
46611
+ * @static
46612
+ * @memberOf _
46613
+ * @since 0.8.0
46614
+ * @category Lang
46615
+ * @param {*} value The value to check.
46616
+ * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
46617
+ * @example
46618
+ *
46619
+ * function Foo() {
46620
+ * this.a = 1;
46621
+ * }
46622
+ *
46623
+ * _.isPlainObject(new Foo);
46624
+ * // => false
46625
+ *
46626
+ * _.isPlainObject([1, 2, 3]);
46627
+ * // => false
46628
+ *
46629
+ * _.isPlainObject({ 'x': 0, 'y': 0 });
46630
+ * // => true
46631
+ *
46632
+ * _.isPlainObject(Object.create(null));
46633
+ * // => true
46634
+ */
46635
+ function isPlainObject(value) {
46636
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
46637
+ return false;
46638
+ }
46639
+ var proto = getPrototype(value);
46640
+ if (proto === null) {
46641
+ return true;
46642
+ }
46643
+ var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
46644
+ return typeof Ctor == 'function' && Ctor instanceof Ctor &&
46645
+ funcToString.call(Ctor) == objectCtorString;
46646
+ }
46647
+
46648
+ module.exports = isPlainObject;
46649
+
46650
+
46336
46651
  /***/ }),
46337
46652
 
46338
46653
  /***/ "./node_modules/lodash/isString.js":
@@ -46373,6 +46688,36 @@ function isString(value) {
46373
46688
  module.exports = isString;
46374
46689
 
46375
46690
 
46691
+ /***/ }),
46692
+
46693
+ /***/ "./node_modules/lodash/last.js":
46694
+ /*!*************************************!*\
46695
+ !*** ./node_modules/lodash/last.js ***!
46696
+ \*************************************/
46697
+ /***/ ((module) => {
46698
+
46699
+ /**
46700
+ * Gets the last element of `array`.
46701
+ *
46702
+ * @static
46703
+ * @memberOf _
46704
+ * @since 0.1.0
46705
+ * @category Array
46706
+ * @param {Array} array The array to query.
46707
+ * @returns {*} Returns the last element of `array`.
46708
+ * @example
46709
+ *
46710
+ * _.last([1, 2, 3]);
46711
+ * // => 3
46712
+ */
46713
+ function last(array) {
46714
+ var length = array == null ? 0 : array.length;
46715
+ return length ? array[length - 1] : undefined;
46716
+ }
46717
+
46718
+ module.exports = last;
46719
+
46720
+
46376
46721
  /***/ }),
46377
46722
 
46378
46723
  /***/ "./node_modules/lodash/memoize.js":
@@ -46489,6 +46834,73 @@ var now = function() {
46489
46834
  module.exports = now;
46490
46835
 
46491
46836
 
46837
+ /***/ }),
46838
+
46839
+ /***/ "./node_modules/lodash/omit.js":
46840
+ /*!*************************************!*\
46841
+ !*** ./node_modules/lodash/omit.js ***!
46842
+ \*************************************/
46843
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
46844
+
46845
+ var arrayMap = __webpack_require__(/*! ./_arrayMap */ "./node_modules/lodash/_arrayMap.js"),
46846
+ baseClone = __webpack_require__(/*! ./_baseClone */ "./node_modules/lodash/_baseClone.js"),
46847
+ baseUnset = __webpack_require__(/*! ./_baseUnset */ "./node_modules/lodash/_baseUnset.js"),
46848
+ castPath = __webpack_require__(/*! ./_castPath */ "./node_modules/lodash/_castPath.js"),
46849
+ copyObject = __webpack_require__(/*! ./_copyObject */ "./node_modules/lodash/_copyObject.js"),
46850
+ customOmitClone = __webpack_require__(/*! ./_customOmitClone */ "./node_modules/lodash/_customOmitClone.js"),
46851
+ flatRest = __webpack_require__(/*! ./_flatRest */ "./node_modules/lodash/_flatRest.js"),
46852
+ getAllKeysIn = __webpack_require__(/*! ./_getAllKeysIn */ "./node_modules/lodash/_getAllKeysIn.js");
46853
+
46854
+ /** Used to compose bitmasks for cloning. */
46855
+ var CLONE_DEEP_FLAG = 1,
46856
+ CLONE_FLAT_FLAG = 2,
46857
+ CLONE_SYMBOLS_FLAG = 4;
46858
+
46859
+ /**
46860
+ * The opposite of `_.pick`; this method creates an object composed of the
46861
+ * own and inherited enumerable property paths of `object` that are not omitted.
46862
+ *
46863
+ * **Note:** This method is considerably slower than `_.pick`.
46864
+ *
46865
+ * @static
46866
+ * @since 0.1.0
46867
+ * @memberOf _
46868
+ * @category Object
46869
+ * @param {Object} object The source object.
46870
+ * @param {...(string|string[])} [paths] The property paths to omit.
46871
+ * @returns {Object} Returns the new object.
46872
+ * @example
46873
+ *
46874
+ * var object = { 'a': 1, 'b': '2', 'c': 3 };
46875
+ *
46876
+ * _.omit(object, ['a', 'c']);
46877
+ * // => { 'b': '2' }
46878
+ */
46879
+ var omit = flatRest(function(object, paths) {
46880
+ var result = {};
46881
+ if (object == null) {
46882
+ return result;
46883
+ }
46884
+ var isDeep = false;
46885
+ paths = arrayMap(paths, function(path) {
46886
+ path = castPath(path, object);
46887
+ isDeep || (isDeep = path.length > 1);
46888
+ return path;
46889
+ });
46890
+ copyObject(object, getAllKeysIn(object), result);
46891
+ if (isDeep) {
46892
+ result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
46893
+ }
46894
+ var length = paths.length;
46895
+ while (length--) {
46896
+ baseUnset(result, paths[length]);
46897
+ }
46898
+ return result;
46899
+ });
46900
+
46901
+ module.exports = omit;
46902
+
46903
+
46492
46904
  /***/ }),
46493
46905
 
46494
46906
  /***/ "./node_modules/lodash/pickBy.js":