@campxdev/react-blueprint 1.1.0 → 1.1.2
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,9 +1,8 @@
|
|
|
1
1
|
import { errorCactus } from "../../../assets/images/svg";
|
|
2
2
|
import { Typography } from "../../DataDisplay/Typography/Typography";
|
|
3
|
-
import { Button } from "../../export";
|
|
4
3
|
import { StyledBox } from "./styles";
|
|
5
4
|
|
|
6
|
-
export const PageNotFound = (
|
|
5
|
+
export const PageNotFound = () => {
|
|
7
6
|
return (
|
|
8
7
|
<>
|
|
9
8
|
<StyledBox>
|
|
@@ -20,13 +19,6 @@ export const PageNotFound = ({ resetBoundary }: any) => {
|
|
|
20
19
|
<Typography variant="body2">
|
|
21
20
|
Please check the URL or return to the homepage.
|
|
22
21
|
</Typography>
|
|
23
|
-
<Button
|
|
24
|
-
sx={{ marginTop: "20px" }}
|
|
25
|
-
variant="contained"
|
|
26
|
-
onClick={() => resetBoundary()}
|
|
27
|
-
>
|
|
28
|
-
Try Again
|
|
29
|
-
</Button>
|
|
30
22
|
</StyledBox>
|
|
31
23
|
</>
|
|
32
24
|
);
|
|
@@ -59,7 +59,7 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
59
59
|
MuiAlert: {
|
|
60
60
|
styleOverrides: {
|
|
61
61
|
root: {
|
|
62
|
-
|
|
62
|
+
width: "400px",
|
|
63
63
|
fontFamily: "Poppins",
|
|
64
64
|
fontWeight: 500,
|
|
65
65
|
fontSize: "14px",
|
|
@@ -219,7 +219,6 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
219
219
|
fontSize: "14px ",
|
|
220
220
|
fontFamily: "Poppins",
|
|
221
221
|
fontWeight: 600,
|
|
222
|
-
width: "350px",
|
|
223
222
|
"&:hover": {
|
|
224
223
|
boxShadow: "none ",
|
|
225
224
|
"@media (hover: none )": {
|
|
@@ -262,7 +261,6 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
262
261
|
height: "7px",
|
|
263
262
|
},
|
|
264
263
|
minWidth: "200px",
|
|
265
|
-
width: "350px",
|
|
266
264
|
margin: "5px 0px",
|
|
267
265
|
},
|
|
268
266
|
},
|
|
@@ -344,7 +342,6 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
344
342
|
"& .MuiOutlinedInput-root .MuiAutocomplete-input": {
|
|
345
343
|
padding: 0,
|
|
346
344
|
maxHeight: "40px",
|
|
347
|
-
maxWidth: "400px",
|
|
348
345
|
},
|
|
349
346
|
overflowY: "auto",
|
|
350
347
|
},
|
|
@@ -365,7 +362,6 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
365
362
|
},
|
|
366
363
|
},
|
|
367
364
|
maxHeight: "40px",
|
|
368
|
-
maxWidth: "400px",
|
|
369
365
|
fontSize: "16px",
|
|
370
366
|
fontFamily: "Heebo",
|
|
371
367
|
fontWeight: 300,
|