dce-reactkit 3.7.28 → 3.7.29

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.
package/dist/cjs/index.js CHANGED
@@ -509,7 +509,7 @@ const Modal = (props) => {
509
509
  /*------------------------------------------------------------------------*/
510
510
  var _a;
511
511
  /* -------------- Props ------------- */
512
- const { type = ModalType$1.NoButtons, size = ModalSize$1.Large, title, children, onClose, dontAllowBackdropExit, dontShowXButton, onTopOfOtherModals, } = props;
512
+ const { type = ModalType$1.NoButtons, size = ModalSize$1.Large, title, largeTitle, children, onClose, dontAllowBackdropExit, dontShowXButton, onTopOfOtherModals, } = props;
513
513
  /* -------------- State ------------- */
514
514
  // True if animation is in use
515
515
  const [animatingIn, setAnimatingIn] = React.useState(true);
@@ -660,6 +660,9 @@ const Modal = (props) => {
660
660
  } },
661
661
  React__default["default"].createElement("h5", { className: "modal-title", style: {
662
662
  fontWeight: 'bold',
663
+ fontSize: (largeTitle
664
+ ? '1.6rem'
665
+ : undefined),
663
666
  } }, title),
664
667
  (onClose && !dontShowXButton) && (React__default["default"].createElement("button", { type: "button", className: "Modal-x-button btn-close", "aria-label": "Close", style: {
665
668
  backgroundColor: (isDarkModeOn()