@luminati-io/uikit 3.0.17 → 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, null, header), content && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledContentWrapper, {
27193
- $borders: borders
27194
- }, content), footer && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(StyledFooterWrapper, null, footer));
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 = {