@luminati-io/uikit 1.9.25 → 1.9.26-beta.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/uikit.umd.js CHANGED
@@ -20018,14 +20018,14 @@ __webpack_require__.r(__webpack_exports__);
20018
20018
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20019
20019
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
20020
20020
  /* harmony export */ });
20021
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
20022
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
20023
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
20024
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
20025
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
20026
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
20027
- /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
20028
- /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_3__);
20021
+ /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
20022
+ /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
20023
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
20024
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
20025
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
20026
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
20027
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! styled-components */ "styled-components");
20028
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
20029
20029
  /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
20030
20030
  /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
20031
20031
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
@@ -20034,6 +20034,7 @@ __webpack_require__.r(__webpack_exports__);
20034
20034
 
20035
20035
 
20036
20036
  /*jslint react:true*/
20037
+
20037
20038
  var _excluded = ["text", "variant", "size", "disabled", "loading", "loadingText"],
20038
20039
  _excluded2 = ["isLeft", "isRight"];
20039
20040
  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); }
@@ -20046,8 +20047,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
20046
20047
 
20047
20048
 
20048
20049
 
20049
-
20050
- var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
20050
+ var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {
20051
20051
  var text = props.text,
20052
20052
  variant = props.variant,
20053
20053
  size = props.size,
@@ -20059,20 +20059,21 @@ var Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRe
20059
20059
  isLeft = _getIconProps.isLeft,
20060
20060
  isRight = _getIconProps.isRight,
20061
20061
  iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
20062
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledButton, _extends({
20062
+ var styledProps = lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'icon', 'iconPlacement');
20063
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(StyledButton, _extends({
20063
20064
  ref: ref
20064
- }, lodash_omit__WEBPACK_IMPORTED_MODULE_3___default()(rest, 'icon', 'iconPlacement'), {
20065
+ }, styledProps, {
20065
20066
  disabled: loading || disabled,
20066
20067
  $variant: variant,
20067
20068
  $size: size,
20068
20069
  $iconPlacement: isLeft || loading ? 'left' : isRight ? 'right' : ''
20069
- }), loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_loading_icon__WEBPACK_IMPORTED_MODULE_7__["default"], {
20070
+ }), loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_loading_icon__WEBPACK_IMPORTED_MODULE_7__["default"], {
20070
20071
  size: iconProps.size
20071
- }), isLeft && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__["default"], iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
20072
+ }), isLeft && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__["default"], iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_5__.Label, {
20072
20073
  variant: size == 'xs' ? 'sm' : 'lg',
20073
20074
  no_wrap: true,
20074
20075
  "data-label": true
20075
- }, loading ? loadingText : text), isRight && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__["default"], iconProps));
20076
+ }, loading ? loadingText : text), isRight && !loading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__["default"], iconProps));
20076
20077
  });
20077
20078
  Button.displayName = 'Button';
20078
20079
  Button.defaultProps = {
@@ -20082,16 +20083,16 @@ Button.defaultProps = {
20082
20083
  loadingText: 'Loading...'
20083
20084
  };
20084
20085
  Button.propTypes = {
20085
- text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
20086
- variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['primary', 'secondary', 'negative', 'negative_secondary', 'positive', 'white']),
20087
- size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['xs', 'sm', 'md', 'lg']),
20088
- icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_6__.iconNames),
20089
- iconPlacement: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['left', 'right']),
20090
- disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
20091
- loading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
20092
- loadingText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
20086
+ text: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
20087
+ variant: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['primary', 'secondary', 'negative', 'negative_secondary', 'positive', 'white']),
20088
+ size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg']),
20089
+ icon: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_6__.iconNames),
20090
+ iconPlacement: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['left', 'right']),
20091
+ disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20092
+ loading: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20093
+ loadingText: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
20093
20094
  };
20094
- var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default().button.withConfig({
20095
+ var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_3___default().button.withConfig({
20095
20096
  displayName: "StyledButton",
20096
20097
  componentId: "sc-ckjtjy-0"
20097
20098
  })(["display:inline-flex;align-items:center;justify-content:center;border-radius:4px;cursor:pointer;&:disabled{cursor:not-allowed;}text-decoration:none;&:hover,&:visited,:focus{text-decoration:none;}", " ", " ", ""], function (props) {
@@ -20103,10 +20104,10 @@ var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default().butt
20103
20104
  gap = 2;
20104
20105
  paddingLeft = paddingRight = 8;
20105
20106
  }
20106
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["gap:", ";padding-left:", ";padding-right:", ";"], (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(gap), (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(paddingLeft), (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(paddingRight));
20107
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.css)(["gap:", ";padding-left:", ";padding-right:", ";"], (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(gap), (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(paddingLeft), (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(paddingRight));
20107
20108
  }, function (props) {
20108
20109
  var colors = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getButtonColors)(props);
20109
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["background-color:", ";border:", ";[data-label]{color:", ";}[data-icon]{color:", ";}", " ", ""], colors.backColor, colors.border || '0 none', colors.color, colors.iconColor || colors.color, colors.hover && "&:hover {\n background-color: ".concat(colors.hover.backColor, ";\n }"), colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"));
20110
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.css)(["background-color:", ";border:", ";[data-label]{color:", ";}[data-icon]{color:", ";}", " ", ""], colors.backColor, colors.border || '0 none', colors.color, colors.iconColor || colors.color, colors.hover && "&:hover {\n background-color: ".concat(colors.hover.backColor, ";\n }"), colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"));
20110
20111
  }, function (props) {
20111
20112
  return (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toButtonSize)(props.$size);
20112
20113
  });
@@ -22252,14 +22253,14 @@ __webpack_require__.r(__webpack_exports__);
22252
22253
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22253
22254
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
22254
22255
  /* harmony export */ });
22255
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
22256
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
22257
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
22258
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
22259
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
22260
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
22261
- /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
22262
- /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_3__);
22256
+ /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/omit */ "./node_modules/lodash/omit.js");
22257
+ /* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
22258
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
22259
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
22260
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
22261
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
22262
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! styled-components */ "styled-components");
22263
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
22263
22264
  /* harmony import */ var _hoc__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hoc */ "./src/hoc/index.js");
22264
22265
  /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
22265
22266
  /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../menu */ "./src/menu/index.js");
@@ -22270,6 +22271,7 @@ __webpack_require__.r(__webpack_exports__);
22270
22271
 
22271
22272
 
22272
22273
  /*jslint react:true*/
22274
+
22273
22275
  var _excluded = ["text", "variant", "size", "items", "disabled", "onClick"],
22274
22276
  _excluded2 = ["isLeft"],
22275
22277
  _excluded3 = ["popover"];
@@ -22285,8 +22287,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
22285
22287
 
22286
22288
 
22287
22289
 
22288
-
22289
- var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
22290
+ var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {
22290
22291
  var text = props.text,
22291
22292
  variant = props.variant,
22292
22293
  size = props.size,
@@ -22297,28 +22298,29 @@ var ComboButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forw
22297
22298
  var _getIconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getIconProps)('Button', props),
22298
22299
  isLeft = _getIconProps.isLeft,
22299
22300
  iconProps = _objectWithoutProperties(_getIconProps, _excluded2);
22300
- var menuProps = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
22301
+ var styledProps = lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(rest, 'icon', 'iconPlacement');
22302
+ var menuProps = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
22301
22303
  return {
22302
22304
  size: size == 'xs' ? 'sm' : 'md',
22303
22305
  items: items
22304
22306
  };
22305
22307
  }, [size, items]);
22306
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledButtonWrapper, _extends({
22308
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(StyledButtonWrapper, _extends({
22307
22309
  ref: ref
22308
- }, lodash_omit__WEBPACK_IMPORTED_MODULE_3___default()(rest, 'icon', 'iconPlacement'), {
22310
+ }, styledProps, {
22309
22311
  disabled: disabled,
22310
22312
  $variant: variant,
22311
22313
  $size: size,
22312
22314
  $iconPlacement: isLeft ? 'left' : ''
22313
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledButton, {
22315
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(StyledButton, {
22314
22316
  disabled: disabled,
22315
22317
  onClick: onClick,
22316
22318
  "data-testid": "combo_button_main"
22317
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonContent, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__["default"], iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
22319
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComboButtonContent, null, isLeft && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__["default"], iconProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
22318
22320
  variant: size == 'xs' ? 'sm' : 'lg',
22319
22321
  no_wrap: true,
22320
22322
  "data-label": true
22321
- }, text))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonMenuTrigger, {
22323
+ }, text))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComboButtonMenuTrigger, {
22322
22324
  disabled: disabled,
22323
22325
  popoverProps: menuProps
22324
22326
  }));
@@ -22329,18 +22331,18 @@ ComboButton.defaultProps = {
22329
22331
  size: 'sm'
22330
22332
  };
22331
22333
  ComboButton.propTypes = {
22332
- text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string).isRequired,
22333
- variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['primary', 'secondary', 'negative', 'negative_secondary', 'positive', 'white']),
22334
- size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['xs', 'sm', 'md', 'lg']),
22335
- icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_8__.iconNames),
22336
- items: prop_types__WEBPACK_IMPORTED_MODULE_0___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_0___default().any)).isRequired,
22337
- disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
22334
+ text: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string).isRequired,
22335
+ variant: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['primary', 'secondary', 'negative', 'negative_secondary', 'positive', 'white']),
22336
+ size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg']),
22337
+ icon: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_8__.iconNames),
22338
+ items: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().any)).isRequired,
22339
+ disabled: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
22338
22340
  };
22339
22341
  var ComboButtonMenu = function ComboButtonMenu(props) {
22340
22342
  var size = props.size,
22341
22343
  items = props.items,
22342
22344
  popover = props.popover;
22343
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_6__["default"], {
22345
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_6__["default"], {
22344
22346
  size: size,
22345
22347
  items: items,
22346
22348
  onClick: popover.hide
@@ -22349,11 +22351,11 @@ var ComboButtonMenu = function ComboButtonMenu(props) {
22349
22351
  var ArrowIcon = function ArrowIcon(props) {
22350
22352
  var popover = props.popover,
22351
22353
  rest = _objectWithoutProperties(props, _excluded3);
22352
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ComboButtonArrow, _extends({
22354
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(ComboButtonArrow, _extends({
22353
22355
  onClick: popover.toggle
22354
22356
  }, rest, {
22355
22357
  "data-testid": "combo_button_menu_button"
22356
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__["default"], {
22358
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__["default"], {
22357
22359
  name: "ChevronDown",
22358
22360
  size: "xs"
22359
22361
  }));
@@ -22362,7 +22364,7 @@ var ComboButtonMenuTrigger = (0,_hoc__WEBPACK_IMPORTED_MODULE_4__.withPopover)(A
22362
22364
  placement: 'bottom-end',
22363
22365
  zIndex: _constants__WEBPACK_IMPORTED_MODULE_9__.Z_INDEX.combobutton
22364
22366
  });
22365
- var StyledButtonWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
22367
+ var StyledButtonWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
22366
22368
  displayName: "StyledButtonWrapper",
22367
22369
  componentId: "sc-s9elw5-0"
22368
22370
  })(["display:inline-flex;align-items:stretch;justify-content:center;border-radius:4px;text-decoration:none;&:hover,&:visited,:focus{text-decoration:none;}padding:0;", " ", " ", ""], function (props) {
@@ -22374,22 +22376,22 @@ var StyledButtonWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default
22374
22376
  gap = 2;
22375
22377
  paddingLeft = paddingRight = 8;
22376
22378
  }
22377
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["", "{gap:", ";padding-left:", ";padding-right:", ";}"], ComboButtonContent, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(gap), (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(paddingLeft), (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(paddingRight));
22379
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.css)(["", "{gap:", ";padding-left:", ";padding-right:", ";}"], ComboButtonContent, (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(gap), (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(paddingLeft), (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toPixel)(paddingRight));
22378
22380
  }, function (props) {
22379
22381
  var colors = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getButtonColors)(props);
22380
- return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["background-color:", ";", "{color:", ";border-top:", ";border-right:0 none;border-bottom:", ";border-left:", ";[data-icon]{color:", ";}", "}", "{border-top:", ";border-right:", ";border-bottom:", ";border-left:", ";[data-icon]{color:", ";}", "}", ""], colors.backColor, StyledButton, colors.color, colors.border || '0 none', colors.border || '0 none', colors.border || '0 none', colors.iconColor || colors.color, colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border-top: ").concat(colors.active.border, ";\n border-bottom: ").concat(colors.active.border, ";\n border-left: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"), ComboButtonArrow, colors.border || '0 none', colors.border || '0 none', colors.border || '0 none', colors.separator || colors.border || '0 none', colors.iconColor || colors.color, colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"), colors.hover && "\n ".concat(StyledButton, ":hover, ").concat(ComboButtonArrow, ":hover {\n background-color: ").concat(colors.hover.backColor, ";\n }\n "));
22382
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.css)(["background-color:", ";", "{color:", ";border-top:", ";border-right:0 none;border-bottom:", ";border-left:", ";[data-icon]{color:", ";}", "}", "{border-top:", ";border-right:", ";border-bottom:", ";border-left:", ";[data-icon]{color:", ";}", "}", ""], colors.backColor, StyledButton, colors.color, colors.border || '0 none', colors.border || '0 none', colors.border || '0 none', colors.iconColor || colors.color, colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border-top: ").concat(colors.active.border, ";\n border-bottom: ").concat(colors.active.border, ";\n border-left: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"), ComboButtonArrow, colors.border || '0 none', colors.border || '0 none', colors.border || '0 none', colors.separator || colors.border || '0 none', colors.iconColor || colors.color, colors.active && "&:active {\n background-color: ".concat(colors.active.backColor, ";\n border: ").concat(colors.active.border, ";\n box-shadow: ").concat(colors.active.boxShadow, ";\n ").concat(colors.active.iconColor && "[data-icon] {\n color: ".concat(colors.active.iconColor, ";\n }"), "\n }"), colors.hover && "\n ".concat(StyledButton, ":hover, ").concat(ComboButtonArrow, ":hover {\n background-color: ").concat(colors.hover.backColor, ";\n }\n "));
22381
22383
  }, function (props) {
22382
22384
  return (0,_utils__WEBPACK_IMPORTED_MODULE_8__.toButtonSize)(props.$size);
22383
22385
  });
22384
- var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default().button.withConfig({
22386
+ var StyledButton = styled_components__WEBPACK_IMPORTED_MODULE_3___default().button.withConfig({
22385
22387
  displayName: "StyledButton",
22386
22388
  componentId: "sc-s9elw5-1"
22387
22389
  })(["cursor:pointer;&:disabled{cursor:not-allowed;}display:flex;align-items:center;height:100%;border:none;border-top-left-radius:4px;border-bottom-left-radius:4px;background:none;padding:0;"]);
22388
- var ComboButtonContent = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
22390
+ var ComboButtonContent = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
22389
22391
  displayName: "ComboButtonContent",
22390
22392
  componentId: "sc-s9elw5-2"
22391
22393
  })(["display:flex;align-items:center;height:100%;"]);
22392
- var ComboButtonArrow = styled_components__WEBPACK_IMPORTED_MODULE_2___default().button.withConfig({
22394
+ var ComboButtonArrow = styled_components__WEBPACK_IMPORTED_MODULE_3___default().button.withConfig({
22393
22395
  displayName: "ComboButtonArrow",
22394
22396
  componentId: "sc-s9elw5-3"
22395
22397
  })(["display:flex;align-items:center;justify-content:center;width:32px;height:100%;border:none;border-top-right-radius:4px;border-bottom-right-radius:4px;background:none;cursor:pointer;&:disabled{cursor:not-allowed;}"]);