umwd-components 0.1.684 → 0.1.685

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.684",
3
+ "version": "0.1.685",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/src/index.js",
6
6
  "module": "dist/src/index.js",
@@ -31,7 +31,10 @@ export function AmountIndicator({
31
31
  }}
32
32
  >
33
33
  {value !== maxValue ? (
34
- <Typography variant="body2">{`${value} / ${maxValue}`}</Typography>
34
+ <Typography
35
+ variant="body2"
36
+ color={theme.palette[color].contrastText}
37
+ >{`${value} / ${maxValue}`}</Typography>
35
38
  ) : (
36
39
  <Typography variant="body2">{`${value}`}</Typography>
37
40
  )}
@@ -85,8 +85,8 @@ export function EditStockForm({
85
85
  </Grid>
86
86
  <Grid item xs={12}>
87
87
  <TableContainer component={Paper}>
88
- <Typography variant="h6">Incoming orders</Typography>
89
88
  <Table size="small">
89
+ <Typography variant="h6">Incoming orders</Typography>
90
90
  <TableHead>
91
91
  <TableRow>
92
92
  <TableCell>Number</TableCell>
@@ -159,8 +159,9 @@ export function EditStockForm({
159
159
  </TableRow>
160
160
  </TableFooter>
161
161
  </Table>
162
- <Typography variant="h6">Outgoing orders</Typography>
162
+
163
163
  <Table size="small">
164
+ <Typography variant="h6">Outgoing orders</Typography>
164
165
  <TableHead>
165
166
  <TableRow>
166
167
  <TableCell>Number</TableCell>