dce-reactkit 3.7.28 → 3.7.30
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 +4 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Modal/ModalProps.d.ts +1 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Modal/ModalProps.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/CheckboxButton.tsx +11 -5
- package/src/components/Modal/ModalProps.ts +2 -0
- package/src/components/Modal/index.tsx +6 -0
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()
|