@campxdev/react-blueprint 0.1.19 → 0.1.21

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": "@campxdev/react-blueprint",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "main": "./export.ts",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -0,0 +1,63 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const ExportIcon = () => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+
7
+ return (
8
+ <>
9
+ <svg
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ width="25"
12
+ height="20"
13
+ viewBox="0 0 30 30"
14
+ style={{
15
+ fill: color,
16
+ }}
17
+ >
18
+ <g
19
+ id="Mask_Group_152"
20
+ data-name="Mask Group 152"
21
+ transform="translate(30) rotate(90)"
22
+ clipPath="url(#clip-path)"
23
+ >
24
+ <g
25
+ id="Group_9672"
26
+ data-name="Group 9672"
27
+ transform="translate(5.109 3.395)"
28
+ >
29
+ <g
30
+ id="Group_9671"
31
+ data-name="Group 9671"
32
+ transform="translate(2.196 5.819)"
33
+ >
34
+ <path
35
+ id="Vector"
36
+ d="M1.1,0A1.1,1.1,0,0,0,.672.088,1.083,1.083,0,0,0,0,1.1V16.383a1.1,1.1,0,0,0,1.1,1.1,1.1,1.1,0,0,0,1.1-1.1V3.742L6.54,8.089A1.1,1.1,0,0,0,8.089,6.54L1.871.322A1.1,1.1,0,0,0,1.1,0Z"
37
+ transform="translate(6.215 0)"
38
+ stroke={color}
39
+ strokeWidth="0.5"
40
+ />
41
+ <path
42
+ id="Vector-2"
43
+ data-name="Vector"
44
+ d="M7.311,0a1.084,1.084,0,0,0-.775.322L.318,6.54A1.1,1.1,0,0,0,1.867,8.089L8.086,1.871a1.1,1.1,0,0,0,0-1.549A1.084,1.084,0,0,0,7.311,0Z"
45
+ transform="translate(0 0)"
46
+ stroke={color}
47
+ strokeWidth="0.5"
48
+ />
49
+ </g>
50
+ <path
51
+ id="Vector-3"
52
+ data-name="Vector"
53
+ d="M18.878,0H1.03A1.037,1.037,0,0,0,0,1.03a1.037,1.037,0,0,0,1.03,1.03H18.878a1.037,1.037,0,0,0,1.03-1.03A1.037,1.037,0,0,0,18.878,0Z"
54
+ transform="translate(0 0)"
55
+ stroke={color}
56
+ strokeWidth="0.5"
57
+ />
58
+ </g>
59
+ </g>
60
+ </svg>
61
+ </>
62
+ );
63
+ };
@@ -0,0 +1,56 @@
1
+ import { useTheme } from "@mui/material";
2
+ export const FilterIcon = () => {
3
+ const theme = useTheme();
4
+ const color = theme.palette.text.primary;
5
+ return (
6
+ <>
7
+ <svg
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ id="sort"
10
+ width="20"
11
+ height="20"
12
+ viewBox="0 0 20 20"
13
+ style={{
14
+ fill: color,
15
+ }}
16
+ >
17
+ <path
18
+ id="Vector"
19
+ d="M0,0H15"
20
+ transform="translate(2.5 5.833)"
21
+ fill="none"
22
+ stroke={color}
23
+ stroke-linecap="round"
24
+ stroke-width="1.5"
25
+ />
26
+ <path
27
+ id="Vector-2"
28
+ data-name="Vector"
29
+ d="M0,0H10"
30
+ transform="translate(5 10)"
31
+ fill="none"
32
+ stroke={color}
33
+ stroke-linecap="round"
34
+ stroke-width="1.5"
35
+ />
36
+ <path
37
+ id="Vector-3"
38
+ data-name="Vector"
39
+ d="M0,0H3.333"
40
+ transform="translate(8.333 14.167)"
41
+ fill="none"
42
+ stroke={color}
43
+ stroke-linecap="round"
44
+ stroke-width="1.5"
45
+ />
46
+ <path
47
+ id="Vector-4"
48
+ data-name="Vector"
49
+ d="M0,0H20V20H0Z"
50
+ fill="none"
51
+ opacity="0"
52
+ />
53
+ </svg>
54
+ </>
55
+ );
56
+ };
@@ -3,6 +3,8 @@ import { CareerIcon } from "./IconComponents/CareerIcon";
3
3
  import { ClogWheelIcon } from "./IconComponents/ClogWheelIcon";
4
4
  import { DashBoardIcon } from "./IconComponents/DashBoardIcon";
5
5
  import { ExamResultIcon } from "./IconComponents/ExamResultIcon";
6
+ import { ExportIcon } from "./IconComponents/ExportIcon";
7
+ import { FilterIcon } from "./IconComponents/FilterIcon";
6
8
  import { HelpIcon } from "./IconComponents/HelpIcon";
7
9
  import { HomeIcon } from "./IconComponents/HomeIcon";
8
10
  import { LeftIcon } from "./IconComponents/LeftIcon";
@@ -23,4 +25,6 @@ export const Icons = {
23
25
  RightIcon: RightIcon,
24
26
  LogoutIcon: LogoutIcon,
25
27
  TicketsIcon: TicketsIcon,
28
+ FilterIcon: FilterIcon,
29
+ ExportIcon: ExportIcon,
26
30
  };
@@ -17,7 +17,7 @@ export const StyledContainer = styled(Box)(({ theme }) => ({
17
17
  "@media (max-width: 1024px)": {
18
18
  marginLeft: 0,
19
19
  },
20
- padding: "25px",
20
+ padding: "20px",
21
21
  marginTop: "10px",
22
22
  }));
23
23
 
@@ -114,9 +114,8 @@ export const getCommonTheme = (mode: Theme) => {
114
114
  styleOverrides: {
115
115
  root: {
116
116
  textTransform: "none",
117
- padding: "5px 30px ",
117
+ padding: "10px 20px ",
118
118
  maxHeight: "40px ",
119
- minWidth: "250px",
120
119
  borderRadius: "5px ",
121
120
  boxShadow: "none ",
122
121
  fontSize: "14px ",