@megha-ui/react 1.2.460 → 1.2.461

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.
@@ -58,7 +58,7 @@ const Modal = ({ isOpen, onClose, title, subTitle, titleAlign = "left", children
58
58
  }, onClick: () => overlayClose && onClose(), children: _jsxs("div", { style: modalContentStyle, className: `${modalContentClass} flex flex-col`, onClick: (e) => e.stopPropagation(), children: [title && (_jsxs("div", { style: {
59
59
  position: "relative",
60
60
  marginBottom: 0,
61
- padding: "1rem",
61
+ paddingBottom: "1rem",
62
62
  }, children: [_jsxs("div", { style: { textAlign: titleAlign }, children: [_jsx("h4", { style: { fontSize: "1.25rem" }, children: title }), _jsx("p", { style: { margin: 0 }, children: subTitle })] }), _jsx("button", { type: "button", "aria-label": "Close", style: {
63
63
  position: "absolute",
64
64
  top: 10,
@@ -72,8 +72,6 @@ const Modal = ({ isOpen, onClose, title, subTitle, titleAlign = "left", children
72
72
  padding: 4,
73
73
  }, onClick: onClose, children: _jsx(MdClose, { size: 18 }) })] })), _jsx("div", { className: `${modalBodyClass} flex-grow overflow-auto`, style: {
74
74
  overflowY: bodyOverflow,
75
- paddingLeft: "1rem",
76
- paddingRight: "1rem",
77
- }, children: children }), footer && (_jsx("div", { ref: footerRef, style: { marginTop: "auto", padding: "1rem" }, children: footer }))] }) }));
75
+ }, children: children }), footer && (_jsx("div", { ref: footerRef, style: { marginTop: "auto", paddingTop: "1rem" }, children: footer }))] }) }));
78
76
  };
79
77
  export default Modal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.460",
3
+ "version": "1.2.461",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",