@nethru/ui 1.0.71 → 1.0.72

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.
@@ -1,4 +1,4 @@
1
- import { Button, Stack } from "@mui/material";
1
+ import { Box, Button, Stack } from "@mui/material";
2
2
  import DialogContent from "@mui/material/DialogContent";
3
3
  import DialogContentText from "@mui/material/DialogContentText";
4
4
  import DialogActions from "@mui/material/DialogActions";
@@ -15,10 +15,14 @@ export default function ConfirmDialog({
15
15
  cancelText = '아니오'
16
16
  }) {
17
17
  return /*#__PURE__*/_jsxs(Dialog, {
18
+ fullWidth: true,
18
19
  contentFontSize: 15,
19
20
  open: open,
20
21
  onClose: onCancel,
21
22
  children: [/*#__PURE__*/_jsx(DialogContent, {
23
+ sx: {
24
+ pt: 4
25
+ },
22
26
  children: /*#__PURE__*/_jsxs(Stack, {
23
27
  direction: "row",
24
28
  alignItems: "center",
@@ -32,14 +36,18 @@ export default function ConfirmDialog({
32
36
  }
33
37
  }), /*#__PURE__*/_jsx(DialogContentText, {
34
38
  component: "div",
35
- children: /*#__PURE__*/_jsx("pre", {
39
+ children: /*#__PURE__*/_jsx(Box, {
40
+ component: "div",
41
+ sx: {
42
+ whiteSpace: 'pre-wrap'
43
+ },
36
44
  children: content.replace(/(\\n)/g, '\n')
37
45
  })
38
46
  })]
39
47
  })
40
48
  }), /*#__PURE__*/_jsxs(DialogActions, {
41
49
  sx: {
42
- mt: 0,
50
+ mr: 1.5,
43
51
  mb: 1
44
52
  },
45
53
  children: [/*#__PURE__*/_jsx(Button, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethru/ui",
3
- "version": "1.0.71",
3
+ "version": "1.0.72",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "/dist"