@campxdev/react-blueprint 1.4.0 → 1.4.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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@campxdev/react-blueprint",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"main": "./export.ts",
|
|
5
5
|
"private": false,
|
|
6
6
|
"dependencies": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@mui/icons-material": "^6.1.5",
|
|
11
11
|
"@mui/material": "^6.1.5",
|
|
12
12
|
"@mui/x-data-grid": "^7.22.1",
|
|
13
|
-
"@mui/x-date-pickers": "7.
|
|
13
|
+
"@mui/x-date-pickers": "^7.22.1",
|
|
14
14
|
"@reduxjs/toolkit": "^2.2.7",
|
|
15
15
|
"@storybook/addon-backgrounds": "^8.3.1",
|
|
16
16
|
"@storybook/addon-designs": "^8.0.3",
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export const ExportMenuIcon = ({ size = 16 }) => {
|
|
2
|
+
return (
|
|
3
|
+
<svg
|
|
4
|
+
width={size}
|
|
5
|
+
height={size}
|
|
6
|
+
viewBox="0 0 20 20"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
>
|
|
10
|
+
<g clip-path="url(#clip0_23_490)">
|
|
11
|
+
<path
|
|
12
|
+
d="M18.9583 9.99999C18.9578 10.0831 18.9408 10.1652 18.9083 10.2417C18.8616 10.3556 18.7819 10.453 18.6795 10.5213C18.577 10.5896 18.4565 10.6257 18.3333 10.625L12.5 10.625C12.3346 10.6239 12.1762 10.5577 12.0593 10.4407C11.9423 10.3238 11.8761 10.1654 11.875 9.99999C11.8761 9.83457 11.9423 9.67623 12.0593 9.55925C12.1762 9.44228 12.3346 9.37608 12.5 9.37499H16.825L16.225 8.77499C16.1146 8.65651 16.0545 8.4998 16.0574 8.33789C16.0602 8.17597 16.1258 8.02148 16.2403 7.90697C16.3548 7.79246 16.5093 7.72687 16.6712 7.72401C16.8331 7.72115 16.9899 7.78126 17.1083 7.89166L18.775 9.55832C18.8331 9.61628 18.8792 9.68512 18.9106 9.7609C18.9421 9.83669 18.9583 9.91793 18.9583 9.99999Z"
|
|
13
|
+
fill="#121212"
|
|
14
|
+
stroke="#121212"
|
|
15
|
+
stroke-width="0.4"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
d="M18.9607 10.0008C18.961 10.0829 18.9449 10.1643 18.9134 10.2401C18.882 10.3159 18.8357 10.3847 18.7773 10.4425L17.1107 12.1091C16.9935 12.2265 16.8346 12.2925 16.6688 12.2927C16.5029 12.2928 16.3439 12.2271 16.2265 12.11C16.1091 11.9928 16.0431 11.8339 16.043 11.6681C16.0428 11.5023 16.1085 11.3432 16.2257 11.2258L17.8923 9.55915C18.01 9.44291 18.1686 9.37773 18.334 9.37773C18.4994 9.37773 18.6581 9.44291 18.7757 9.55915C18.8343 9.61677 18.8809 9.68551 18.9127 9.76134C18.9444 9.83718 18.9607 9.91859 18.9607 10.0008Z"
|
|
19
|
+
fill="#121212"
|
|
20
|
+
stroke="#121212"
|
|
21
|
+
stroke-width="0.4"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
d="M6.875 5.31664V1.64998C6.87609 1.48456 6.94229 1.32622 7.05927 1.20924C7.17624 1.09227 7.33458 1.02607 7.5 1.02498C7.66542 1.02607 7.82376 1.09227 7.94074 1.20924C8.05771 1.32622 8.12391 1.48456 8.125 1.64998L8.125 18.3333C8.12391 18.4987 8.05771 18.6571 7.94074 18.774C7.82376 18.891 7.66542 18.9572 7.5 18.9583C7.33458 18.9572 7.17624 18.891 7.05927 18.774C6.94229 18.6571 6.87609 18.4987 6.875 18.3333L6.875 5.31664Z"
|
|
25
|
+
fill="#121212"
|
|
26
|
+
stroke="#121212"
|
|
27
|
+
stroke-width="0.4"
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
d="M1.04167 12.5V7.5C1.04167 2.97501 2.975 1.04167 7.5 1.04167L10.8333 1.04167C14.7417 1.04167 16.7 2.49167 17.175 5.74167C17.1879 5.82275 17.1844 5.90559 17.1649 5.98533C17.1453 6.06506 17.1101 6.1401 17.0612 6.20606C17.0123 6.27201 16.9508 6.32756 16.8802 6.36945C16.8096 6.41133 16.7313 6.43872 16.65 6.45C16.569 6.46217 16.4864 6.45823 16.4069 6.43842C16.3275 6.4186 16.2527 6.38329 16.1869 6.33452C16.1211 6.28575 16.0655 6.22447 16.0235 6.1542C15.9814 6.08393 15.9536 6.00604 15.9417 5.925C15.5583 3.30834 14.125 2.29167 10.8333 2.29167L7.5 2.29167C3.65833 2.29167 2.29167 3.65834 2.29167 7.5V12.5C2.29167 16.3417 3.65833 17.7083 7.5 17.7083H10.8333C14.125 17.7083 15.5583 16.6917 15.9417 14.075C15.966 13.9115 16.0543 13.7643 16.1871 13.6658C16.3199 13.5673 16.4864 13.5257 16.65 13.55C16.8135 13.5743 16.9607 13.6626 17.0592 13.7954C17.1577 13.9283 17.1993 14.0948 17.175 14.2583C16.7 17.5083 14.7417 18.9583 10.8333 18.9583H7.5C2.975 18.9583 1.04167 17.025 1.04167 12.5Z"
|
|
31
|
+
fill="#121212"
|
|
32
|
+
stroke="#121212"
|
|
33
|
+
stroke-width="0.4"
|
|
34
|
+
/>
|
|
35
|
+
</g>
|
|
36
|
+
<defs>
|
|
37
|
+
<clipPath id="clip0_23_490">
|
|
38
|
+
<rect width="20" height="20" fill="white" />
|
|
39
|
+
</clipPath>
|
|
40
|
+
</defs>
|
|
41
|
+
</svg>
|
|
42
|
+
);
|
|
43
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export const ImportIcon = ({ size = 16 }) => {
|
|
2
|
+
return (
|
|
3
|
+
<svg
|
|
4
|
+
width={size}
|
|
5
|
+
height={size}
|
|
6
|
+
viewBox="0 0 20 20"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
>
|
|
10
|
+
<g clip-path="url(#clip0_23_486)">
|
|
11
|
+
<path
|
|
12
|
+
d="M10 8.125C9.91694 8.1245 9.8348 8.1075 9.75834 8.075C9.6444 8.02831 9.54702 7.94861 9.47871 7.84615C9.4104 7.74369 9.37429 7.62315 9.37501 7.5V1.66667C9.3761 1.50125 9.4423 1.34291 9.55928 1.22594C9.67625 1.10896 9.83459 1.04276 10 1.04167C10.1654 1.04276 10.3238 1.10896 10.4407 1.22594C10.5577 1.34291 10.6239 1.50125 10.625 1.66667V5.99167L11.225 5.39167C11.3435 5.28127 11.5002 5.22117 11.6621 5.22403C11.824 5.22688 11.9785 5.29248 12.093 5.40699C12.2075 5.5215 12.2731 5.67598 12.276 5.8379C12.2788 5.99982 12.2187 6.15653 12.1083 6.275L10.4417 7.94167C10.3837 7.99976 10.3149 8.04585 10.2391 8.07731C10.1633 8.10877 10.0821 8.12498 10 8.125Z"
|
|
13
|
+
fill="#121212"
|
|
14
|
+
stroke="#121212"
|
|
15
|
+
stroke-width="0.4"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
d="M9.99987 8.12749C9.91777 8.12779 9.83643 8.11173 9.7606 8.08025C9.68477 8.04877 9.61597 8.00251 9.55821 7.94416L7.89154 6.27749C7.77418 6.16036 7.70816 6.0014 7.70801 5.83558C7.70785 5.66977 7.77357 5.51069 7.89071 5.39333C8.00785 5.27597 8.16681 5.20995 8.33262 5.20979C8.49843 5.20964 8.65752 5.27536 8.77487 5.39249L10.4415 7.05916C10.5578 7.17678 10.623 7.33547 10.623 7.50083C10.623 7.66619 10.5578 7.82488 10.4415 7.94249C10.3839 8.00115 10.3152 8.04772 10.2393 8.07948C10.1635 8.11125 10.0821 8.12757 9.99987 8.12749Z"
|
|
19
|
+
fill="#121212"
|
|
20
|
+
stroke="#121212"
|
|
21
|
+
stroke-width="0.4"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
d="M5.31657 13.125H1.6499C1.48448 13.1239 1.32614 13.0577 1.20917 12.9407C1.09219 12.8238 1.02599 12.6654 1.0249 12.5C1.02599 12.3346 1.09219 12.1762 1.20917 12.0593C1.32614 11.9423 1.48448 11.8761 1.6499 11.875H18.3332C18.4987 11.8761 18.657 11.9423 18.774 12.0593C18.8909 12.1762 18.9571 12.3346 18.9582 12.5C18.9571 12.6654 18.8909 12.8238 18.774 12.9407C18.657 13.0577 18.4987 13.1239 18.3332 13.125H5.31657Z"
|
|
25
|
+
fill="#121212"
|
|
26
|
+
stroke="#121212"
|
|
27
|
+
stroke-width="0.4"
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
d="M12.4998 18.9583H7.49984C2.97484 18.9583 1.0415 17.025 1.0415 12.5V9.16667C1.0415 5.25833 2.4915 3.3 5.7415 2.825C5.82259 2.81215 5.90542 2.81559 5.98516 2.83513C6.0649 2.85466 6.13994 2.88991 6.20589 2.93879C6.27185 2.98767 6.32739 3.04922 6.36928 3.11983C6.41117 3.19043 6.43855 3.26868 6.44984 3.35C6.462 3.431 6.45806 3.5136 6.43825 3.59307C6.41843 3.67255 6.38312 3.74733 6.33435 3.81313C6.28558 3.87893 6.2243 3.93447 6.15403 3.97654C6.08376 4.01862 6.00587 4.04641 5.92484 4.05833C3.30817 4.44167 2.2915 5.875 2.2915 9.16667V12.5C2.2915 16.3417 3.65817 17.7083 7.49984 17.7083H12.4998C16.3415 17.7083 17.7082 16.3417 17.7082 12.5V9.16667C17.7082 5.875 16.6915 4.44167 14.0748 4.05833C13.9113 4.03402 13.7641 3.94574 13.6656 3.8129C13.5672 3.68006 13.5255 3.51355 13.5498 3.35C13.5741 3.18645 13.6624 3.03926 13.7953 2.9408C13.9281 2.84234 14.0946 2.80069 14.2582 2.825C17.5082 3.3 18.9582 5.25833 18.9582 9.16667V12.5C18.9582 17.025 17.0248 18.9583 12.4998 18.9583Z"
|
|
31
|
+
fill="#121212"
|
|
32
|
+
stroke="#121212"
|
|
33
|
+
stroke-width="0.4"
|
|
34
|
+
/>
|
|
35
|
+
</g>
|
|
36
|
+
<defs>
|
|
37
|
+
<clipPath id="clip0_23_486">
|
|
38
|
+
<rect width="20" height="20" fill="white" />
|
|
39
|
+
</clipPath>
|
|
40
|
+
</defs>
|
|
41
|
+
</svg>
|
|
42
|
+
);
|
|
43
|
+
};
|
|
@@ -46,6 +46,7 @@ import { ExamxIcon } from './IconComponents/ExamxIcon';
|
|
|
46
46
|
import { ExcelIcon } from './IconComponents/ExcelIcon';
|
|
47
47
|
import { ExpandIcon } from './IconComponents/ExpandIcon';
|
|
48
48
|
import { ExportIcon } from './IconComponents/ExportIcon';
|
|
49
|
+
import { ExportMenuIcon } from './IconComponents/ExportMenuIcon';
|
|
49
50
|
import { FeePaymentIcon } from './IconComponents/FeePaymentIcon';
|
|
50
51
|
import { FilterIcon } from './IconComponents/FilterIcon';
|
|
51
52
|
import { HandoutsIcon } from './IconComponents/HandoutsIcon';
|
|
@@ -54,6 +55,7 @@ import { HomeIcon } from './IconComponents/HomeIcon';
|
|
|
54
55
|
import { HostelxIcon } from './IconComponents/HostelxIcon';
|
|
55
56
|
import { HostlerIcon } from './IconComponents/HostlersIcon';
|
|
56
57
|
import { ImageIcon } from './IconComponents/ImageIcon';
|
|
58
|
+
import { ImportIcon } from './IconComponents/ImportIcon';
|
|
57
59
|
import { InfoFilledIcon } from './IconComponents/InfoFilledIcon';
|
|
58
60
|
import { InfoIcon } from './IconComponents/InfoIcon';
|
|
59
61
|
import { InstitutionsIcon } from './IconComponents/InstitutionsIcon';
|
|
@@ -208,4 +210,6 @@ export const Icons = {
|
|
|
208
210
|
RegistrationIcon,
|
|
209
211
|
RouteIcon,
|
|
210
212
|
ManageUserIcon,
|
|
213
|
+
ImportIcon,
|
|
214
|
+
ExportMenuIcon,
|
|
211
215
|
};
|