@campxdev/react-blueprint 0.1.40 → 0.1.42

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.
Files changed (43) hide show
  1. package/package.json +1 -1
  2. package/src/components/Assets/Icons/IconComponents/ActiveDevicesIcon.tsx +3 -3
  3. package/src/components/Assets/Icons/IconComponents/AdministratorIcon.tsx +3 -3
  4. package/src/components/Assets/Icons/IconComponents/AppsIcon.tsx +3 -3
  5. package/src/components/Assets/Icons/IconComponents/BulbIcon.tsx +3 -3
  6. package/src/components/Assets/Icons/IconComponents/CampxFullLogoIcon.tsx +0 -1
  7. package/src/components/Assets/Icons/IconComponents/CampxIcon.tsx +4 -4
  8. package/src/components/Assets/Icons/IconComponents/CareerIcon.tsx +3 -3
  9. package/src/components/Assets/Icons/IconComponents/CheckedCheckBoxIcon.tsx +3 -3
  10. package/src/components/Assets/Icons/IconComponents/CheckedRadioIcon.tsx +3 -3
  11. package/src/components/Assets/Icons/IconComponents/ClogWheelIcon.tsx +3 -3
  12. package/src/components/Assets/Icons/IconComponents/CommutexIcon.tsx +37 -0
  13. package/src/components/Assets/Icons/IconComponents/CrossIcon.tsx +3 -3
  14. package/src/components/Assets/Icons/IconComponents/DashBoardIcon.tsx +3 -3
  15. package/src/components/Assets/Icons/IconComponents/DeviceIcon.tsx +3 -4
  16. package/src/components/Assets/Icons/IconComponents/EnrollIcon.tsx +35 -0
  17. package/src/components/Assets/Icons/IconComponents/ExamResultIcon.tsx +3 -3
  18. package/src/components/Assets/Icons/IconComponents/ExamxIcon.tsx +34 -0
  19. package/src/components/Assets/Icons/IconComponents/ExportIcon.tsx +4 -2
  20. package/src/components/Assets/Icons/IconComponents/FilterIcon.tsx +4 -2
  21. package/src/components/Assets/Icons/IconComponents/HelpIcon.tsx +3 -3
  22. package/src/components/Assets/Icons/IconComponents/HomeIcon.tsx +3 -3
  23. package/src/components/Assets/Icons/IconComponents/HostelxIcon.tsx +51 -0
  24. package/src/components/Assets/Icons/IconComponents/InfoIcon.tsx +3 -3
  25. package/src/components/Assets/Icons/IconComponents/InstitutionsIcon.tsx +3 -3
  26. package/src/components/Assets/Icons/IconComponents/LeftIcon.tsx +3 -3
  27. package/src/components/Assets/Icons/IconComponents/LocationIcon.tsx +3 -3
  28. package/src/components/Assets/Icons/IconComponents/LogoutIcon.tsx +6 -3
  29. package/src/components/Assets/Icons/IconComponents/NavigationIcon.tsx +3 -3
  30. package/src/components/Assets/Icons/IconComponents/NotificationIcon.tsx +3 -4
  31. package/src/components/Assets/Icons/IconComponents/PayxIcon.tsx +49 -0
  32. package/src/components/Assets/Icons/IconComponents/PeoplexIcon.tsx +35 -0
  33. package/src/components/Assets/Icons/IconComponents/ProductFeaturesIcon.tsx +3 -3
  34. package/src/components/Assets/Icons/IconComponents/ProfileIcon.tsx +4 -4
  35. package/src/components/Assets/Icons/IconComponents/RightIcon.tsx +3 -3
  36. package/src/components/Assets/Icons/IconComponents/TicketsIcon.tsx +3 -3
  37. package/src/components/Assets/Icons/IconComponents/UncheckCheckBoxIcon.tsx +3 -3
  38. package/src/components/Assets/Icons/IconComponents/UncheckedRadioIcon.tsx +3 -3
  39. package/src/components/Assets/Icons/IconComponents/Union4Icon.tsx +35 -0
  40. package/src/components/Assets/Icons/IconComponents/XIcon.tsx +24 -0
  41. package/src/components/Assets/Icons/Icons.tsx +22 -6
  42. package/src/components/Layout/AppHeader/AppHeader.tsx +1 -1
  43. package/src/components/Navigation/DropDownMenu/DropDownMenu.tsx +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/react-blueprint",
3
- "version": "0.1.40",
3
+ "version": "0.1.42",
4
4
  "main": "./export.ts",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -1,6 +1,6 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const ActiveDevicesIcon = () => {
3
+ export const ActiveDevicesIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
 
@@ -9,8 +9,8 @@ export const ActiveDevicesIcon = () => {
9
9
  id="Active_Devices"
10
10
  data-name="Active Devices"
11
11
  xmlns="http://www.w3.org/2000/svg"
12
- width="16"
13
- height="16"
12
+ width={size}
13
+ height={size}
14
14
  viewBox="0 0 16 16"
15
15
  style={{
16
16
  fill: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const AdministratorIcon = () => {
3
+ export const AdministratorIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <>
8
8
  <svg
9
- width="30"
10
- height="30"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 30 30"
12
12
  style={{ fill: color }}
13
13
  xmlns="http://www.w3.org/2000/svg"
@@ -1,10 +1,10 @@
1
- export const AppsIcon = () => {
1
+ export const AppsIcon = ({ size = 32 }) => {
2
2
  return (
3
3
  <svg
4
4
  id="apps"
5
5
  xmlns="http://www.w3.org/2000/svg"
6
- width="24"
7
- height="24"
6
+ width={size}
7
+ height={size}
8
8
  viewBox="0 0 24 24"
9
9
  >
10
10
  <path
@@ -1,14 +1,14 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const BulbIcon = () => {
3
+ export const BulbIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.highlight.highlightBlue;
6
6
 
7
7
  return (
8
8
  <svg
9
9
  xmlns="http://www.w3.org/2000/svg"
10
- width="16"
11
- height="18"
10
+ width={size}
11
+ height={size}
12
12
  viewBox="0 0 20.182 21.03"
13
13
  style={{
14
14
  fill: color,
@@ -2,7 +2,6 @@ import { useTheme } from "@mui/material";
2
2
 
3
3
  export const CampxFullLogoIcon = () => {
4
4
  const theme = useTheme();
5
-
6
5
  const color = theme.palette.mode === "dark" ? "#FFFFFF" : "#1e19f5";
7
6
 
8
7
  return (
@@ -1,15 +1,15 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const CampxIcon = () => {
3
+ export const CampxIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
 
6
6
  const color = theme.palette.mode === "dark" ? "white" : "blue";
7
- console.log(color);
7
+
8
8
  return (
9
9
  <svg
10
10
  xmlns="http://www.w3.org/2000/svg"
11
- width="32"
12
- height="32"
11
+ width={size}
12
+ height={size}
13
13
  viewBox="0 5 101.234 104.906"
14
14
  style={{
15
15
  fill: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const CareerIcon = () => {
3
+ export const CareerIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="18.3"
10
- height="20.3"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 20.3 20.3"
12
12
  style={{
13
13
  fill: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const CheckedCheckboxIcon = () => {
3
+ export const CheckedCheckboxIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="20"
10
- height="20"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 20 20"
12
12
  style={{
13
13
  fill: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const CheckedRadioIcon = () => {
3
+ export const CheckedRadioIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="20"
10
- height="20"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 20 20"
12
12
  style={{
13
13
  fill: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const ClogWheelIcon = () => {
3
+ export const ClogWheelIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="16.595"
10
- height="20"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 17.995 20"
12
12
  style={{
13
13
  fill: color,
@@ -0,0 +1,37 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const CommutexIcon = ({ size = 32 }) => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+ return (
7
+ <svg
8
+ id="Group_4542"
9
+ data-name="Group 4542"
10
+ width={size}
11
+ height={size}
12
+ viewBox="0 0 290.182 400"
13
+ style={{
14
+ stroke: color,
15
+ }}
16
+ >
17
+ <defs>
18
+ <linearGradient
19
+ id="linear-gradient"
20
+ x1="0.5"
21
+ x2="0.5"
22
+ y2="1"
23
+ gradientUnits="objectBoundingBox"
24
+ >
25
+ <stop offset="0" stop-color="#6a2886" />
26
+ <stop offset="1" stop-color="#8234a4" />
27
+ </linearGradient>
28
+ </defs>
29
+ <path
30
+ id="Union_49"
31
+ data-name="Union 49"
32
+ d="M192.681,400l-47.861-65.881L96.953,400H.975L0,399.287,135.693,212.52H.09v-25h136.26L48.761,67.083l-.02.024L0,.029.02,0H97.5l47.866,65.876L193.223,0H289.2l.98.707L154.448,187.524h135.64v25H153.867l87.549,120.4.02-.024,48.742,67.079-.02.029Z"
33
+ fill="url(#linear-gradient)"
34
+ />
35
+ </svg>
36
+ );
37
+ };
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const CrossIcon = () => {
3
+ export const CrossIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="8"
10
- height="8"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 8 8"
12
12
  style={{
13
13
  stroke: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const DashBoardIcon = () => {
3
+ export const DashBoardIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="20"
10
- height="20"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 16 16"
12
12
  style={{
13
13
  stroke: color,
@@ -1,14 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const DeviceIcon = () => {
3
+ export const DeviceIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <div>
8
8
  <svg
9
- xmlns="http://www.w3.org/2000/svg"
10
- width="20"
11
- height="20"
9
+ width={size}
10
+ height={size}
12
11
  viewBox="0 0 20 20"
13
12
  style={{
14
13
  fill: color,
@@ -0,0 +1,35 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const EnrollxIcon = ({ size = 32 }) => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+ return (
7
+ <svg
8
+ width={size}
9
+ height={size}
10
+ viewBox="0 0 362.673 400"
11
+ style={{
12
+ stroke: color,
13
+ }}
14
+ >
15
+ <defs>
16
+ <linearGradient
17
+ id="linear-gradient"
18
+ x1="0.5"
19
+ x2="0.5"
20
+ y2="1"
21
+ gradientUnits="objectBoundingBox"
22
+ >
23
+ <stop offset="0" stop-color="#007ab1" />
24
+ <stop offset="1" stop-color="#149ecd" />
25
+ </linearGradient>
26
+ </defs>
27
+ <path
28
+ id="Union_6"
29
+ data-name="Union 6"
30
+ d="M0,400H.017L0,399.971l48.484-66.726.02.027L145.335,200h95.476l.972.706L96.985,400Zm179.158-80.166L266.226,200H361.7l.972.7L276.121,319.834ZM361.7,200Zm0,0H266.228l-87.2-120.01h96.963l86.68,119.3Zm-216.367,0L48.5,66.729l-.02.027L0,.027.017,0h96.97L241.782,199.294l-.972.706ZM217.908.046h0ZM217.91.046Zm-97,0-.015-.02.02-.027h96.968l.032.042v0ZM0,0H.017Z"
31
+ fill="url(#linear-gradient)"
32
+ />
33
+ </svg>
34
+ );
35
+ };
@@ -1,14 +1,14 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const ExamResultIcon = () => {
3
+ export const ExamResultIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <>
8
8
  <svg
9
9
  xmlns="http://www.w3.org/2000/svg"
10
- width="14.3"
11
- height="20.3"
10
+ width={size}
11
+ height={size}
12
12
  viewBox="0 0 15.3 20.3"
13
13
  style={{
14
14
  fill: color,
@@ -0,0 +1,34 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const ExamxIcon = ({ size = 32 }) => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+ return (
7
+ <svg
8
+ id="Group_4477"
9
+ data-name="Group 4477"
10
+ width={size}
11
+ height={size}
12
+ viewBox="0 0 388.283 400"
13
+ >
14
+ <defs>
15
+ <linearGradient
16
+ id="linear-gradient"
17
+ x1="0.5"
18
+ x2="0.5"
19
+ y2="1"
20
+ gradientUnits="objectBoundingBox"
21
+ >
22
+ <stop offset="0" stop-color="#d86b00" />
23
+ <stop offset="1" stop-color="#ed9035" />
24
+ </linearGradient>
25
+ </defs>
26
+ <path
27
+ id="Subtraction_66"
28
+ data-name="Subtraction 66"
29
+ d="M388.261,400H291.294l-.021-.027L.018,400,0,399.973l48.481-66.729.018.023L145.334,200,48.5,66.728l-.018.027L0,.03.018,0H388.264l.019.03L339.8,66.755l-.018-.027L242.943,200l96.837,133.268.018-.023,48.486,66.729-.021.026ZM153.486,77.69h0l38.344,52.8V269.442l-38.346,52.8,81.253-.052-38.286-52.746V130.491l38.286-52.749-81.251-.051Z"
30
+ fill="url(#linear-gradient)"
31
+ />
32
+ </svg>
33
+ );
34
+ };
@@ -3,9 +3,11 @@ import { useTheme } from "@mui/material";
3
3
  export const ExportIcon = ({
4
4
  sx = {},
5
5
  color,
6
+ size = 32,
6
7
  }: {
7
8
  sx?: any;
8
9
  color?: string;
10
+ size?: number;
9
11
  }) => {
10
12
  const theme = useTheme();
11
13
  color = color ?? theme.palette.text.primary;
@@ -14,8 +16,8 @@ export const ExportIcon = ({
14
16
  <>
15
17
  <svg
16
18
  xmlns="http://www.w3.org/2000/svg"
17
- width="25"
18
- height="20"
19
+ width={size}
20
+ height={size}
19
21
  viewBox="0 0 30 30"
20
22
  style={{
21
23
  fill: color,
@@ -2,9 +2,11 @@ import { useTheme } from "@mui/material";
2
2
  export const FilterIcon = ({
3
3
  sx = {},
4
4
  color,
5
+ size = 32,
5
6
  }: {
6
7
  sx?: any;
7
8
  color?: string;
9
+ size?: number;
8
10
  }) => {
9
11
  const theme = useTheme();
10
12
  color = color ?? theme.palette.text.primary;
@@ -13,8 +15,8 @@ export const FilterIcon = ({
13
15
  <svg
14
16
  xmlns="http://www.w3.org/2000/svg"
15
17
  id="sort"
16
- width="20"
17
- height="20"
18
+ width={size}
19
+ height={size}
18
20
  viewBox="0 0 20 20"
19
21
  style={{
20
22
  fill: color,
@@ -1,14 +1,14 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const HelpIcon = () => {
3
+ export const HelpIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  id="message-question"
9
9
  xmlns="http://www.w3.org/2000/svg"
10
- width="20"
11
- height="20"
10
+ width={size}
11
+ height={size}
12
12
  viewBox="0 0 20 20"
13
13
  style={{
14
14
  stroke: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const HomeIcon = () => {
3
+ export const HomeIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="20"
10
- height="20"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 16 16"
12
12
  style={{
13
13
  stroke: color,
@@ -0,0 +1,51 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const HostelxIcon = ({ size = 32 }) => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+ return (
7
+ <svg
8
+ id="Group_4511"
9
+ data-name="Group 4511"
10
+ width={size}
11
+ height={size}
12
+ viewBox="0 0 580.128 400"
13
+ style={{
14
+ stroke: color,
15
+ }}
16
+ >
17
+ <defs>
18
+ <linearGradient
19
+ id="linear-gradient"
20
+ x1="0.5"
21
+ x2="0.5"
22
+ y2="1"
23
+ gradientUnits="objectBoundingBox"
24
+ >
25
+ <stop offset="0" stop-color="#573dab" />
26
+ <stop offset="1" stop-color="#7251dd" />
27
+ </linearGradient>
28
+ </defs>
29
+ <path
30
+ id="Subtraction_9"
31
+ data-name="Subtraction 9"
32
+ d="M99.7,205.6H.02L0,205.576l49.844-68.6.019.026L148.351,1.456l48.808,67.169.019-.027,1.034,1.423L99.7,205.6ZM248.052,1.421h0L247.019,0h.538l1,.725-.5.694Z"
33
+ transform="translate(141.741 194.395)"
34
+ fill="url(#linear-gradient)"
35
+ />
36
+ <path
37
+ id="Union_40"
38
+ data-name="Union 40"
39
+ d="M99.7,400H.02L0,399.968l49.846-68.594.016.024,98.491-135.549.231.316,43-59.186.02.028L290.09,1.456l.486.668.3-.417L438.488,204.88l-.1.073L530.266,331.4l.02-.024,49.842,68.594-.021.029H480.422L381.915,264.414l.039-.052-49.86-68.574-.017.024,0,0v0l-.5-.692.024-.018-9.8-13.486.129.02-31.532-43.4L241.445,205.6h-.474l-44.659,61.423L99.7,400v0ZM191.174,1.74,189.928.032,189.949,0h2.489l-1.263,1.74v0ZM389.79,1.42,388.759,0h.538l1,.728-.5.692Z"
40
+ fill="url(#linear-gradient)"
41
+ />
42
+ <path
43
+ id="Subtraction_10"
44
+ data-name="Subtraction 10"
45
+ d="M247.558,205.6H149.408L51.1,70.308l49.841-68.6L248.556,204.879l-1,.725ZM1.244,1.741h0L0,.03.019,0H2.508L1.245,1.74Z"
46
+ transform="translate(189.93 194.394)"
47
+ fill="url(#linear-gradient)"
48
+ />
49
+ </svg>
50
+ );
51
+ };
@@ -1,14 +1,14 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const InfoIcon = () => {
3
+ export const InfoIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.highlight.highlightBlue;
6
6
 
7
7
  return (
8
8
  <svg
9
9
  xmlns="http://www.w3.org/2000/svg"
10
- width="18"
11
- height="18"
10
+ width={size}
11
+ height={size}
12
12
  viewBox="0 0 18 18"
13
13
  style={{
14
14
  fill: color,
@@ -1,6 +1,6 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const InstitutionsIcon = () => {
3
+ export const InstitutionsIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
 
@@ -8,8 +8,8 @@ export const InstitutionsIcon = () => {
8
8
  <svg
9
9
  xmlns="http://www.w3.org/2000/svg"
10
10
  id="Institutions"
11
- width="16"
12
- height="16"
11
+ width={size}
12
+ height={size}
13
13
  viewBox="0 0 16 16"
14
14
  style={{
15
15
  fill: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const LeftIcon = () => {
3
+ export const LeftIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="24"
10
- height="24"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 24 24"
12
12
  style={{
13
13
  stroke: color,
@@ -1,14 +1,14 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const LocationIcon = () => {
3
+ export const LocationIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
 
7
7
  return (
8
8
  <svg
9
9
  xmlns="http://www.w3.org/2000/svg"
10
- width="21"
11
- height="21"
10
+ width={size}
11
+ height={size}
12
12
  viewBox="0 0 20 20"
13
13
  style={{
14
14
  fill: color,
@@ -5,7 +5,10 @@ interface LogoutIconProps {
5
5
  hoverColor?: string;
6
6
  }
7
7
 
8
- export const LogoutIcon: React.FC<LogoutIconProps> = ({ hoverColor }) => {
8
+ export const LogoutIcon: React.FC<LogoutIconProps> = (
9
+ { hoverColor },
10
+ { size = 32 }
11
+ ) => {
9
12
  const theme = useTheme();
10
13
  const [isHovered, setIsHovered] = useState(false);
11
14
  const defaultColor = theme.palette.text.primary;
@@ -13,8 +16,8 @@ export const LogoutIcon: React.FC<LogoutIconProps> = ({ hoverColor }) => {
13
16
  return (
14
17
  <svg
15
18
  xmlns="http://www.w3.org/2000/svg"
16
- width="24"
17
- height="24"
19
+ width={size}
20
+ height={size}
18
21
  viewBox="0 0 24 24"
19
22
  onMouseEnter={() => setIsHovered(true)}
20
23
  onMouseLeave={() => setIsHovered(false)}
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const NavigationIcon = () => {
3
+ export const NavigationIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="21"
10
- height="21"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 30 30"
12
12
  style={{
13
13
  fill: color,
@@ -1,14 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const NotificationIcon = () => {
3
+ export const NotificationIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <>
8
8
  <svg
9
- xmlns="http://www.w3.org/2000/svg"
10
- width="20"
11
- height="20"
9
+ width={size}
10
+ height={size}
12
11
  viewBox="0 0 20 20"
13
12
  style={{
14
13
  stroke: color,
@@ -0,0 +1,49 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const PayxIcon = ({ size = 32 }) => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+ return (
7
+ <svg
8
+ id="Group_4464"
9
+ data-name="Group 4464"
10
+ width={size}
11
+ height={size}
12
+ viewBox="0 0 281.535 400"
13
+ style={{
14
+ stroke: color,
15
+ }}
16
+ >
17
+ <defs>
18
+ <linearGradient
19
+ id="linear-gradient"
20
+ x1="0.222"
21
+ y1="1"
22
+ x2="0.787"
23
+ gradientUnits="objectBoundingBox"
24
+ >
25
+ <stop offset="0" stop-color="#88b053" />
26
+ <stop offset="1" stop-color="#50840b" />
27
+ </linearGradient>
28
+ </defs>
29
+ <g id="Group_4461" data-name="Group 4461" transform="translate(0 0)">
30
+ <g id="Group_4460" data-name="Group 4460">
31
+ <path
32
+ id="Subtraction_8"
33
+ data-name="Subtraction 8"
34
+ d="M99.731,205.606,248.585.725l-1-.725H149.435L49.888,137.006l-.019-.027L.026,205.577l.019.029H99.731Z"
35
+ transform="translate(32.95 194.394)"
36
+ fill="url(#linear-gradient)"
37
+ />
38
+ <path
39
+ id="Subtraction_8-2"
40
+ data-name="Subtraction 8"
41
+ d="M148.88,0,.026,204.881l1,.725H99.176L198.723,68.6l.019.027L248.585.029,248.566,0H148.88Z"
42
+ transform="translate(-0.026 0)"
43
+ fill="url(#linear-gradient)"
44
+ />
45
+ </g>
46
+ </g>
47
+ </svg>
48
+ );
49
+ };
@@ -0,0 +1,35 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const PeoplexIcon = ({ size = 32 }) => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+ return (
7
+ <svg
8
+ width={size}
9
+ height={size}
10
+ viewBox="0 0 532.854 400"
11
+ style={{
12
+ stroke: color,
13
+ }}
14
+ >
15
+ <defs>
16
+ <linearGradient
17
+ id="linear-gradient"
18
+ x1="0.5"
19
+ x2="0.5"
20
+ y2="1"
21
+ gradientUnits="objectBoundingBox"
22
+ >
23
+ <stop offset="0" stop-color="#d0002b" />
24
+ <stop offset="1" stop-color="#ea4a6b" />
25
+ </linearGradient>
26
+ </defs>
27
+ <path
28
+ id="Union_42"
29
+ data-name="Union 42"
30
+ d="M279.636,400H151.53l-.024-.038,51.2-70.468L191.03,313.422,128.13,400H.024L0,399.959,64.052,311.8l.024.035,126.57-174.2.62.853,0-.006L266.8,242.03l75.965-103.542.006.009.385-.53,189.7,261.1-1.283.932H405.438l-62.9-86.573-11.8,16.247,50.617,69.389-1.283.932H279.64Zm0,0h0ZM290.045,50.418v0a50.416,50.416,0,1,1,100.832,0v0a50.416,50.416,0,1,1-100.832,0Zm-149.881,0v0a50.417,50.417,0,0,1,100.833,0v0a50.417,50.417,0,0,1-100.833,0Z"
31
+ fill="url(#linear-gradient)"
32
+ />
33
+ </svg>
34
+ );
35
+ };
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const ProductFeaturesIcon = () => {
3
+ export const ProductFeaturesIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="16"
10
- height="16"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 16 16"
12
12
  style={{
13
13
  stroke: color,
@@ -1,6 +1,6 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const ProfileIcon = () => {
3
+ export const ProfileIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
 
@@ -10,11 +10,11 @@ export const ProfileIcon = () => {
10
10
  xmlns="http://www.w3.org/2000/svg"
11
11
  id="My_Profile"
12
12
  data-name="My Profile"
13
- width="16"
14
- height="16"
13
+ width={size}
14
+ height={size}
15
15
  viewBox="0 0 16 16"
16
16
  style={{
17
- fill: color, // Set fill color to use the theme's primary text color
17
+ fill: color,
18
18
  }}
19
19
  >
20
20
  <g id="user-octagon">
@@ -1,6 +1,6 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const RightIcon = () => {
3
+ export const RightIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
@@ -8,8 +8,8 @@ export const RightIcon = () => {
8
8
  xmlns="http://www.w3.org/2000/svg"
9
9
  id="vuesax_linear_logout"
10
10
  data-name="vuesax/linear/logout"
11
- width="24"
12
- height="24"
11
+ width={size}
12
+ height={size}
13
13
  viewBox="0 0 24 24"
14
14
  style={{
15
15
  stroke: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const TicketsIcon = () => {
3
+ export const TicketsIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="16"
10
- height="16"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 16 16"
12
12
  >
13
13
  <g
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const UnCheckedCheckboxIcon = () => {
3
+ export const UnCheckedCheckboxIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.secondary.main;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="20"
10
- height="20"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 20 20"
12
12
  style={{
13
13
  fill: color,
@@ -1,13 +1,13 @@
1
1
  import { useTheme } from "@mui/material";
2
2
 
3
- export const UnCheckedRadioIcon = () => {
3
+ export const UnCheckedRadioIcon = ({ size = 32 }) => {
4
4
  const theme = useTheme();
5
5
  const color = theme.palette.text.primary;
6
6
  return (
7
7
  <svg
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- width="20"
10
- height="20"
9
+ width={size}
10
+ height={size}
11
11
  viewBox="0 0 20 20"
12
12
  style={{
13
13
  fill: color,
@@ -0,0 +1,35 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const Union4Icon = ({ size = 32 }) => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+ return (
7
+ <svg
8
+ width={size}
9
+ height={size}
10
+ viewBox="0 0 287.642 400"
11
+ style={{
12
+ stroke: color,
13
+ }}
14
+ >
15
+ <defs>
16
+ <linearGradient
17
+ id="linear-gradient"
18
+ x1="0.5"
19
+ x2="0.5"
20
+ y2="1"
21
+ gradientUnits="objectBoundingBox"
22
+ >
23
+ <stop offset="0" stop-color="#cba100" />
24
+ <stop offset="1" stop-color="#f8d759" />
25
+ </linearGradient>
26
+ </defs>
27
+ <path
28
+ id="Union_4"
29
+ data-name="Union 4"
30
+ d="M241.763,400h.02Zm-96.968,0-.972-1.343L142.847,400H45.879l-.015-.024L73.94,361.328l20.405-28.086.02.024.972-1.338L0,200.7l.972-.7H96.445l47.378,65.2L191.2,200l-47.373-65.2L96.445,200H.972L0,199.3,95.337,68.071l-.972-1.338-.02.024L45.864.024,45.884,0h96.963l.977,1.343L144.795,0h96.968l.02.024L193.3,66.758l-.02-.024-.972,1.338L287.642,199.3l-.967.7.967.7L192.3,331.929l.972,1.338.02-.024,48.486,66.733-.02.024ZM45.864,0h.02Z"
31
+ fill="url(#linear-gradient)"
32
+ />
33
+ </svg>
34
+ );
35
+ };
@@ -0,0 +1,24 @@
1
+ import { useTheme } from "@mui/material";
2
+
3
+ export const XIcon = ({ size = 32 }) => {
4
+ const theme = useTheme();
5
+ const color = theme.palette.text.primary;
6
+ return (
7
+ <svg
8
+ width={size}
9
+ height={size}
10
+ viewBox="0 0 689.881 714.902"
11
+ style={{
12
+ stroke: color,
13
+ }}
14
+ >
15
+ <path
16
+ id="Subtraction_130"
17
+ data-name="Subtraction 130"
18
+ d="M-3274.271-9547.1h-168.235l-99.271-136.635,86.525-119.091,184.132,253.437-3.152,2.289Zm-515.342,0h-168.234l-3.152-2.289,258.416-355.679L-3961-10260.741l1.733-1.259h170.4l172.806,237.845.035-.048,86.524,119.09-.035.049.12.164-86.525,119.091-.118-.162L-3789.613-9547.1h0Zm333.661-459.245h0l-86.525-119.091,99.222-136.567h170.4l1.733,1.259-184.833,254.4Z"
19
+ transform="translate(3961 10262)"
20
+ fill="#1e1ef5"
21
+ />
22
+ </svg>
23
+ );
24
+ };
@@ -1,35 +1,43 @@
1
1
  import { ActiveDevicesIcon } from "./IconComponents/ActiveDevicesIcon";
2
+ import { AdministratorIcon } from "./IconComponents/AdministratorIcon";
2
3
  import { AppsIcon } from "./IconComponents/AppsIcon";
4
+ import { BulbIcon } from "./IconComponents/BulbIcon";
5
+ import { CampxFullLogoIcon } from "./IconComponents/CampxFullLogoIcon";
6
+ import { CampxIcon } from "./IconComponents/CampxIcon";
3
7
  import { CareerIcon } from "./IconComponents/CareerIcon";
4
8
  import { CheckedCheckboxIcon } from "./IconComponents/CheckedCheckBoxIcon";
5
9
  import { CheckedRadioIcon } from "./IconComponents/CheckedRadioIcon";
6
10
  import { ClogWheelIcon } from "./IconComponents/ClogWheelIcon";
11
+ import { CommutexIcon } from "./IconComponents/CommutexIcon";
12
+ import { CrossIcon } from "./IconComponents/CrossIcon";
7
13
  import { DashBoardIcon } from "./IconComponents/DashBoardIcon";
8
14
  import { DeviceIcon } from "./IconComponents/DeviceIcon";
15
+ import { EnrollxIcon } from "./IconComponents/EnrollIcon";
9
16
  import { ExamResultIcon } from "./IconComponents/ExamResultIcon";
17
+ import { ExamxIcon } from "./IconComponents/ExamxIcon";
10
18
  import { ExportIcon } from "./IconComponents/ExportIcon";
11
19
  import { FilterIcon } from "./IconComponents/FilterIcon";
12
20
  import { HelpIcon } from "./IconComponents/HelpIcon";
13
21
  import { HomeIcon } from "./IconComponents/HomeIcon";
22
+ import { HostelxIcon } from "./IconComponents/HostelxIcon";
14
23
  import { InfoIcon } from "./IconComponents/InfoIcon";
15
-
16
- import { BulbIcon } from "./IconComponents/BulbIcon";
17
- import { CampxIcon } from "./IconComponents/CampxIcon";
18
- import { CrossIcon } from "./IconComponents/CrossIcon";
19
24
  import { InstitutionsIcon } from "./IconComponents/InstitutionsIcon";
20
25
  import { LeftIcon } from "./IconComponents/LeftIcon";
21
26
  import { LocationIcon } from "./IconComponents/LocationIcon";
22
27
  import { LogoutIcon } from "./IconComponents/LogoutIcon";
23
28
  import { NavigationIcon } from "./IconComponents/NavigationIcon";
24
29
  import { NotificationIcon } from "./IconComponents/NotificationIcon";
30
+ import { PayxIcon } from "./IconComponents/PayxIcon";
31
+ import { PeoplexIcon } from "./IconComponents/PeoplexIcon";
25
32
  import { ProductFeaturesIcon } from "./IconComponents/ProductFeaturesIcon";
26
33
  import { ProfileIcon } from "./IconComponents/ProfileIcon";
27
34
  import { RightIcon } from "./IconComponents/RightIcon";
28
35
  import { TicketsIcon } from "./IconComponents/TicketsIcon";
29
36
  import { UnCheckedCheckboxIcon } from "./IconComponents/UncheckCheckBoxIcon";
30
37
  import { UnCheckedRadioIcon } from "./IconComponents/UncheckedRadioIcon";
31
- import { AdministratorIcon } from "./IconComponents/AdministratorIcon";
32
- import { CampxFullLogoIcon } from "./IconComponents/CampxFullLogoIcon";
38
+ import { Union4Icon } from "./IconComponents/Union4Icon";
39
+ import { XIcon } from "./IconComponents/XIcon";
40
+
33
41
  export const Icons = {
34
42
  AppsIcon,
35
43
  CareerIcon,
@@ -62,4 +70,12 @@ export const Icons = {
62
70
  CampxIcon,
63
71
  AdministratorIcon,
64
72
  CampxFullLogoIcon,
73
+ CommutexIcon,
74
+ EnrollxIcon,
75
+ PeoplexIcon,
76
+ PayxIcon,
77
+ HostelxIcon,
78
+ ExamxIcon,
79
+ Union4Icon,
80
+ XIcon,
65
81
  };
@@ -32,7 +32,7 @@ export const AppHeader = ({
32
32
  alert("help button clicked");
33
33
  }}
34
34
  >
35
- <HelpIcon />
35
+ <HelpIcon size={24} />
36
36
  </StyledIconButton>
37
37
  <UserBox fullName={userFullName} actions={[]} />
38
38
  </Stack>
@@ -1,5 +1,5 @@
1
1
  import { Divider, Menu, MenuListProps, MenuProps } from "@mui/material";
2
- import { ReactNode, useState } from "react";
2
+ import { Fragment, ReactNode, useState } from "react";
3
3
 
4
4
  export type DropdownMenuProps = {
5
5
  anchor: (props: { open: (e: any) => void }) => ReactNode;
@@ -53,10 +53,10 @@ export const DropdownMenu = ({
53
53
  {...menuProps}
54
54
  >
55
55
  {menu.map((item, index) => (
56
- <>
56
+ <Fragment key={index}>
57
57
  {item}
58
58
  <Divider flexItem sx={{ margin: "0 !important" }} />
59
- </>
59
+ </Fragment>
60
60
  ))}
61
61
  </Menu>
62
62
  </>