umwd-components 0.1.655 → 0.1.656

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.655",
3
+ "version": "0.1.656",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/src/index.js",
6
6
  "module": "dist/src/index.js",
@@ -55,6 +55,17 @@ export default function CreateCategoryForm({
55
55
  <Box component={Paper} sx={{ p: 2 }}>
56
56
  <form action={formAction}>
57
57
  <Grid container spacing={2}>
58
+ <Grid item xs={12}>
59
+ <Stack spacing={2}>
60
+ <Typography variant="h3" component={"h1"}>
61
+ Create Category
62
+ </Typography>
63
+ <Typography variant="body2">
64
+ Create a new category for your products. You can add products to
65
+ this category later.
66
+ </Typography>
67
+ </Stack>
68
+ </Grid>
58
69
  <Grid item xs={12}>
59
70
  <Stack spacing={2}>
60
71
  <TextField id="title" name="title" label="Title" />
@@ -71,7 +82,12 @@ export default function CreateCategoryForm({
71
82
  </Grid>
72
83
  </Grid>
73
84
  <Grid item xs={12}>
74
- <Stack direction={"row"} justifyContent={"space-between"}>
85
+ <Stack
86
+ direction={"row"}
87
+ justifyContent={"space-between"}
88
+ alignItems={"center"}
89
+ sx={{ pt: 2 }}
90
+ >
75
91
  {handleClose !== undefined && (
76
92
  <Button onClick={handleClose} variant="outlined">
77
93
  Cancel
@@ -77,6 +77,17 @@ export function EditCategoryForm({
77
77
  <form action={formAction}>
78
78
  {id && <input id="id" type="hidden" name="id" value={id} />}
79
79
  <Grid container spacing={2}>
80
+ <Grid item xs={12}>
81
+ <Stack spacing={2}>
82
+ <Typography variant="h3" component={"h1"}>
83
+ Edit Category
84
+ </Typography>
85
+ <Typography variant="body2">
86
+ Edit the category for your products. You can add products to
87
+ this category later.
88
+ </Typography>
89
+ </Stack>
90
+ </Grid>
80
91
  <Grid item xs={12}>
81
92
  <Stack spacing={2}>
82
93
  <TextField
@@ -105,7 +116,12 @@ export function EditCategoryForm({
105
116
  </Grid>
106
117
  </Grid>
107
118
  <Grid item xs={12}>
108
- <Stack direction={"row"} justifyContent={"space-between"}>
119
+ <Stack
120
+ direction={"row"}
121
+ justifyContent={"space-between"}
122
+ alignItems={"center"}
123
+ sx={{ pt: 2 }}
124
+ >
109
125
  {handleClose && (
110
126
  <Button onClick={handleClose} variant="outlined">
111
127
  Cancel
@@ -272,7 +272,7 @@ export default function TextualManageOPOForm({
272
272
  }, [opo]);
273
273
 
274
274
  return (
275
- <Box sx={[{ p: 2 }, ...(Array.isArray(sx) ? sx : [sx])]} component={Paper}>
275
+ <Box sx={[...(Array.isArray(sx) ? sx : [sx])]}>
276
276
  <Grid container spacing={2}>
277
277
  <Grid item xs={12}>
278
278
  <Stack spacing={2}>