@luminati-io/uikit 3.0.16 → 3.0.18
Sign up to get free protection for your applications and to get access to all the features.
@@ -27124,6 +27124,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
27124
27124
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
27125
27125
|
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
|
27126
27126
|
/* harmony import */ var _theme__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../theme */ "./src/theme.js");
|
27127
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
27127
27128
|
// LICENSE_CODE ZON
|
27128
27129
|
|
27129
27130
|
|
@@ -27133,6 +27134,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
27133
27134
|
|
27134
27135
|
|
27135
27136
|
|
27137
|
+
|
27136
27138
|
var MODAL_WIDTHS = {
|
27137
27139
|
sm: '360px',
|
27138
27140
|
md: '500px',
|
@@ -27189,9 +27191,20 @@ var ModalBase = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(f
|
|
27189
27191
|
box_shadow: shadow,
|
27190
27192
|
"data-testid": testId,
|
27191
27193
|
ref: ref
|
27192
|
-
}, header && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledHeaderWrapper,
|
27193
|
-
|
27194
|
-
|
27194
|
+
}, header && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledHeaderWrapper, {
|
27195
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(className, {
|
27196
|
+
header: true
|
27197
|
+
})
|
27198
|
+
}, header), content && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledContentWrapper, {
|
27199
|
+
$borders: borders,
|
27200
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(className, {
|
27201
|
+
content: true
|
27202
|
+
})
|
27203
|
+
}, content), footer && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledFooterWrapper, {
|
27204
|
+
className: (0,_utils__WEBPACK_IMPORTED_MODULE_5__.classNames)(className, {
|
27205
|
+
footer: true
|
27206
|
+
})
|
27207
|
+
}, footer));
|
27195
27208
|
});
|
27196
27209
|
ModalBase.displayName = 'ModalBase';
|
27197
27210
|
ModalBase.propTypes = {
|
@@ -27486,7 +27499,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
27486
27499
|
|
27487
27500
|
/*jslint react:true*/
|
27488
27501
|
var _excluded = ["show", "zIndex", "onOutsideClick", "swallowOutsideClick"];
|
27489
|
-
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); }
|
27490
27502
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
27491
27503
|
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."); }
|
27492
27504
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
@@ -27554,9 +27566,12 @@ var withBackdrop = function withBackdrop(Comp) {
|
|
27554
27566
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CompContainer, {
|
27555
27567
|
$show: visible,
|
27556
27568
|
$zIndex: zIndex + 1
|
27557
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
27558
|
-
ref: popperElement
|
27559
|
-
|
27569
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
27570
|
+
ref: popperElement,
|
27571
|
+
style: {
|
27572
|
+
display: 'flex'
|
27573
|
+
}
|
27574
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Comp, restProps))));
|
27560
27575
|
};
|
27561
27576
|
WithBackdrop.displayName = "WithBackdrop(".concat((0,_hoc__WEBPACK_IMPORTED_MODULE_4__.getDisplayName)(Comp), ")");
|
27562
27577
|
return WithBackdrop;
|