@madie/madie-design-system 1.2.80 → 1.2.82

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.
@@ -149,6 +149,8 @@ const MadieDialog = ({
149
149
  continueButtonProps,
150
150
  maxWidth = "sm",
151
151
  children,
152
+ titleBoxSx,
153
+ contentSx,
152
154
  }) => {
153
155
  const {
154
156
  open,
@@ -192,6 +194,7 @@ const MadieDialog = ({
192
194
  alignItems: "center",
193
195
  padding: "24px 32px",
194
196
  cursor: "move",
197
+ ...titleBoxSx
195
198
  }}
196
199
  >
197
200
  <DialogTitle
@@ -246,7 +249,7 @@ const MadieDialog = ({
246
249
  </div>
247
250
  </Box>
248
251
  <Divider sx={{ borderColor: "#8c8c8c" }} />
249
- <DialogContent sx={{ padding: "32px" }}>
252
+ <DialogContent sx={{ padding: "32px", ...contentSx }}>
250
253
  {showRequiredFieldMessage && (
251
254
  <Box
252
255
  sx={{
@@ -296,6 +299,7 @@ const MadieDialog = ({
296
299
  justifyContent: "space-between",
297
300
  alignItems: "center",
298
301
  padding: "24px 32px",
302
+ ...titleBoxSx,
299
303
  }}
300
304
  >
301
305
  <DialogTitle
@@ -319,7 +323,7 @@ const MadieDialog = ({
319
323
  </div>
320
324
  </Box>
321
325
  <Divider sx={{ borderColor: "#8c8c8c" }} />
322
- <DialogContent sx={{ padding: "32px" }}>
326
+ <DialogContent sx={{ padding: "32px", ...contentSx }}>
323
327
  {children}
324
328
  </DialogContent>
325
329
  {(cancelButtonProps || continueButtonProps) && (
@@ -344,6 +348,8 @@ MadieDialog.propTypes = {
344
348
  continueButtonProps: PropTypes.object,
345
349
  children: PropTypes.object,
346
350
  maxWidth: PropTypes.string,
351
+ titleBoxSx: PropTypes.object,
352
+ contentSx: PropTypes.object,
347
353
  };
348
354
 
349
355
  DraggablePaper.propTypes = {