@luminati-io/uikit 3.2.11 → 3.2.12
Sign up to get free protection for your applications and to get access to all the features.
@@ -37070,8 +37070,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
37070
37070
|
/* harmony import */ var lodash_omit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_omit__WEBPACK_IMPORTED_MODULE_0__);
|
37071
37071
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
37072
37072
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
37073
|
-
/* harmony import */ var
|
37074
|
-
/* harmony import */ var
|
37073
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
37074
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
37075
|
+
/* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/index-a301f526.esm.js");
|
37076
|
+
/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../checkbox */ "./src/input/checkbox.js");
|
37075
37077
|
// LICENSE_CODE ZON
|
37076
37078
|
|
37077
37079
|
|
@@ -37090,20 +37092,25 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
37090
37092
|
|
37091
37093
|
|
37092
37094
|
|
37095
|
+
|
37093
37096
|
var Option = function Option(props) {
|
37094
37097
|
var children = props.children,
|
37095
37098
|
innerProps = props.innerProps,
|
37096
37099
|
rest = _objectWithoutProperties(props, _excluded);
|
37097
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
37100
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(react_select__WEBPACK_IMPORTED_MODULE_4__.c.Option, _extends({}, rest, {
|
37098
37101
|
innerProps: _objectSpread({}, lodash_omit__WEBPACK_IMPORTED_MODULE_0___default()(innerProps, 'onMouseMove', 'onMouseOver'))
|
37099
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
37102
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_checkbox__WEBPACK_IMPORTED_MODULE_3__.Checkbox, {
|
37100
37103
|
checked: props.isSelected,
|
37101
37104
|
disabled: props.isDisabled,
|
37102
37105
|
onChange: function onChange() {
|
37103
37106
|
return null;
|
37104
37107
|
}
|
37105
|
-
}), children);
|
37108
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TextOverflow, null, children));
|
37106
37109
|
};
|
37110
|
+
var TextOverflow = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
37111
|
+
displayName: "TextOverflow",
|
37112
|
+
componentId: "sc-1fnb51k-0"
|
37113
|
+
})(["flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]);
|
37107
37114
|
|
37108
37115
|
/***/ }),
|
37109
37116
|
|
@@ -37203,6 +37210,24 @@ var useStyles = function useStyles(_ref) {
|
|
37203
37210
|
boxShadow: undefined
|
37204
37211
|
});
|
37205
37212
|
},
|
37213
|
+
menuList: function menuList(baseStyles) {
|
37214
|
+
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37215
|
+
overflowX: 'hidden',
|
37216
|
+
scrollbarColor: '#FFFFFF #DFE3E6',
|
37217
|
+
scrollbarWidth: 'thin',
|
37218
|
+
'&::-webkit-scrollbar': {
|
37219
|
+
width: '4px',
|
37220
|
+
height: '4px'
|
37221
|
+
},
|
37222
|
+
'&::-webkit-scrollbar-track': {
|
37223
|
+
backgroundColor: '#FFFFFF'
|
37224
|
+
},
|
37225
|
+
'&::-webkit-scrollbar-thumb': {
|
37226
|
+
backgroundColor: '#DFE3E6',
|
37227
|
+
borderRadius: '2px'
|
37228
|
+
}
|
37229
|
+
});
|
37230
|
+
},
|
37206
37231
|
groupHeading: function groupHeading(baseStyles) {
|
37207
37232
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
37208
37233
|
/* Label/base */
|
@@ -40345,7 +40370,7 @@ var MenuItemContainer = styled_components__WEBPACK_IMPORTED_MODULE_0___default()
|
|
40345
40370
|
"use strict";
|
40346
40371
|
__webpack_require__.r(__webpack_exports__);
|
40347
40372
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40348
|
-
/* harmony export */
|
40373
|
+
/* harmony export */ ModalBase: () => (/* binding */ ModalBase)
|
40349
40374
|
/* harmony export */ });
|
40350
40375
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
40351
40376
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -40379,7 +40404,7 @@ var MODAL_WIDTHS = {
|
|
40379
40404
|
var StyledWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_3__.Box).withConfig({
|
40380
40405
|
displayName: "StyledWrapper",
|
40381
40406
|
componentId: "sc-1nggvo0-0"
|
40382
|
-
})(["background-color:", ";border-radius:", ";display:
|
40407
|
+
})(["background-color:", ";border-radius:", ";display:flex;flex-direction:column;font-family:", ";min-width:200px;max-width:", ";width:", ";"], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.white, _theme__WEBPACK_IMPORTED_MODULE_4__["default"].spacing['02'], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].font_family.sans, MODAL_WIDTHS.full, function (props) {
|
40383
40408
|
return MODAL_WIDTHS[props.$size];
|
40384
40409
|
});
|
40385
40410
|
var StyledHeaderWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex).attrs({
|
@@ -40395,7 +40420,7 @@ var StyledContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___defaul
|
|
40395
40420
|
}).withConfig({
|
40396
40421
|
displayName: "StyledContentWrapper",
|
40397
40422
|
componentId: "sc-1nggvo0-2"
|
40398
|
-
})(["overflow-y:auto;", " ", " ", ""], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].scrollbars.thin, function (props) {
|
40423
|
+
})(["flex:1;overflow-y:auto;", " ", " ", ""], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].scrollbars.thin, function (props) {
|
40399
40424
|
return props.$borders && props.$borders.top ? "border-top: 1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.gray_4, ";") : '';
|
40400
40425
|
}, function (props) {
|
40401
40426
|
return props.$borders && props.$borders.bottom ? "border-bottom: 1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_4__["default"].color.gray_4, ";") : '';
|
@@ -40451,7 +40476,6 @@ ModalBase.defaultProps = {
|
|
40451
40476
|
size: 'md',
|
40452
40477
|
shadow: 'md'
|
40453
40478
|
};
|
40454
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ModalBase);
|
40455
40479
|
|
40456
40480
|
/***/ }),
|
40457
40481
|
|
@@ -40464,7 +40488,7 @@ ModalBase.defaultProps = {
|
|
40464
40488
|
"use strict";
|
40465
40489
|
__webpack_require__.r(__webpack_exports__);
|
40466
40490
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40467
|
-
/* harmony export */ Base: () => (/* reexport safe */ _base__WEBPACK_IMPORTED_MODULE_0__
|
40491
|
+
/* harmony export */ Base: () => (/* reexport safe */ _base__WEBPACK_IMPORTED_MODULE_0__.ModalBase),
|
40468
40492
|
/* harmony export */ Button: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalButton),
|
40469
40493
|
/* harmony export */ CloseButton: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.CloseButton),
|
40470
40494
|
/* harmony export */ Footer: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalFooter),
|
@@ -40472,7 +40496,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
40472
40496
|
/* harmony export */ Header: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalHeader),
|
40473
40497
|
/* harmony export */ Popup: () => (/* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_1__.Popup),
|
40474
40498
|
/* harmony export */ Title: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_2__.ModalTitle),
|
40475
|
-
/* harmony export */ withBackdrop: () => (/* reexport safe */ _with_backdrop__WEBPACK_IMPORTED_MODULE_3__
|
40499
|
+
/* harmony export */ withBackdrop: () => (/* reexport safe */ _with_backdrop__WEBPACK_IMPORTED_MODULE_3__.withBackdrop)
|
40476
40500
|
/* harmony export */ });
|
40477
40501
|
/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base */ "./src/modal/base.js");
|
40478
40502
|
/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modal */ "./src/modal/modal.js");
|
@@ -40487,7 +40511,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
40487
40511
|
|
40488
40512
|
|
40489
40513
|
|
40490
|
-
|
40491
40514
|
/***/ }),
|
40492
40515
|
|
40493
40516
|
/***/ "./src/modal/modal.js":
|
@@ -40547,7 +40570,7 @@ var General = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(fun
|
|
40547
40570
|
okDisabled: okDisabled,
|
40548
40571
|
cancelDisabled: cancelDisabled
|
40549
40572
|
}) : null;
|
40550
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_base__WEBPACK_IMPORTED_MODULE_3__
|
40573
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_base__WEBPACK_IMPORTED_MODULE_3__.ModalBase, {
|
40551
40574
|
id: id,
|
40552
40575
|
className: className,
|
40553
40576
|
"data-testid": "modal_general",
|
@@ -40573,7 +40596,7 @@ General.propTypes = {
|
|
40573
40596
|
size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg', 'full']),
|
40574
40597
|
shadow: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['none', 'sm', 'md', 'lg'])
|
40575
40598
|
};
|
40576
|
-
var Popup = (0,_with_backdrop__WEBPACK_IMPORTED_MODULE_4__
|
40599
|
+
var Popup = (0,_with_backdrop__WEBPACK_IMPORTED_MODULE_4__.withBackdrop)(General);
|
40577
40600
|
|
40578
40601
|
|
40579
40602
|
/***/ }),
|
@@ -40716,7 +40739,7 @@ ModalFooter.defaultProps = {
|
|
40716
40739
|
"use strict";
|
40717
40740
|
__webpack_require__.r(__webpack_exports__);
|
40718
40741
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
40719
|
-
/* harmony export */
|
40742
|
+
/* harmony export */ withBackdrop: () => (/* binding */ withBackdrop)
|
40720
40743
|
/* harmony export */ });
|
40721
40744
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
40722
40745
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
@@ -40834,7 +40857,6 @@ var CompContainer = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
|
|
40834
40857
|
}, function (props) {
|
40835
40858
|
return props.$show ? '0' : '-25%';
|
40836
40859
|
});
|
40837
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withBackdrop);
|
40838
40860
|
|
40839
40861
|
/***/ }),
|
40840
40862
|
|