mui-dialog 1.0.31 → 1.0.32

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.
@@ -3289,6 +3289,7 @@ const MuiDialog = (props) => {
3289
3289
  const subtype = props.type === MODAL_TYPES.INFORMATION ? props.subtype : props.type === MODAL_TYPES.CONFIRMATION ? props.subtype : props.type === MODAL_TYPES.INPUT ? props.subtype : "default";
3290
3290
  const {
3291
3291
  wrapperClassName,
3292
+ paperClassName,
3292
3293
  open,
3293
3294
  type,
3294
3295
  size,
@@ -3348,6 +3349,7 @@ const MuiDialog = (props) => {
3348
3349
  ...rest,
3349
3350
  disableEnforceFocus: true,
3350
3351
  disableRestoreFocus: true,
3352
+ ...paperClassName && { classes: { paper: paperClassName } },
3351
3353
  children: /* @__PURE__ */ jsxs("div", { className: `p-24 h-fill ${IS_SAFARI ? "safari-height-fix" : ""}`, children: [
3352
3354
  title && /* @__PURE__ */ jsxs(
3353
3355
  "div",
@@ -17,6 +17,7 @@ interface IActions {
17
17
  }
18
18
  export interface BaseModalProps {
19
19
  wrapperClassName?: string;
20
+ paperClassName?: string;
20
21
  onClose: () => void;
21
22
  open: boolean;
22
23
  showCloseIcon?: boolean;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/viplatform/mui-dialog/issues"
8
8
  },
9
9
  "homepage": "https://github.com/viplatform/mui-dialog#readme",
10
- "version": "1.0.31",
10
+ "version": "1.0.32",
11
11
  "files": [
12
12
  "dist"
13
13
  ],