intelicoreact 1.1.16 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,8 @@ Object.defineProperty(exports, "__esModule", {
9
9
  });
10
10
  exports.default = exports.renderModalTitle = exports.KEY_CODE = void 0;
11
11
 
12
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
+
12
14
  var _react = _interopRequireWildcard(require("react"));
13
15
 
14
16
  var _classnames = _interopRequireDefault(require("classnames"));
@@ -56,6 +58,8 @@ var Modal = function Modal(_ref2) {
56
58
  onlyTitle = _ref2.onlyTitle,
57
59
  mode = _ref2.mode,
58
60
  size = _ref2.size,
61
+ _ref2$atributesForMod = _ref2.atributesForModalBody,
62
+ atributesForModalBody = _ref2$atributesForMod === void 0 ? {} : _ref2$atributesForMod,
59
63
  confirmBtnClassName = _ref2.confirmBtnClassName,
60
64
  confirmBtnLabel = _ref2.confirmBtnLabel,
61
65
  _ref2$confirmBtnVaria = _ref2.confirmBtnVariant,
@@ -119,11 +123,11 @@ var Modal = function Modal(_ref2) {
119
123
  mode: mode,
120
124
  title: title,
121
125
  onlyTitle: onlyTitle
122
- }))), /*#__PURE__*/_react.default.createElement("div", {
126
+ }))), /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, atributesForModalBody, {
123
127
  className: (0, _classnames.default)('modal__body', {
124
128
  'modal__body--no-footer': noFooter
125
129
  })
126
- }, children), !noFooter && /*#__PURE__*/_react.default.createElement(_ModalFooter.default, {
130
+ }), children), !noFooter && /*#__PURE__*/_react.default.createElement(_ModalFooter.default, {
127
131
  className: leftContentOfFooter ? 'modal__footer_with-left-content' : ''
128
132
  }, leftContentOfFooter, /*#__PURE__*/_react.default.createElement("div", {
129
133
  className: "modal__buttons-block"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [