dhre-ui-kit 0.0.111 → 0.0.114
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/lib/index.js +76 -65
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +244 -233
- package/lib/index.mjs.map +1 -1
- package/package.json +5 -9
- package/src/assets/fonts/MeraasAktiv_Bd.ttf +0 -0
- package/src/assets/fonts/MeraasAktiv_Lt.ttf +0 -0
- package/src/assets/fonts/MeraasAktiv_Rg.ttf +0 -0
- package/src/assets/images/arrowLeft.svg +0 -3
- package/src/assets/images/bellSimple.svg +0 -3
- package/src/assets/images/calenderDots.svg +0 -1
- package/src/assets/images/caretDown.svg +0 -3
- package/src/assets/images/caretLeft.svg +0 -3
- package/src/assets/images/caretRight.svg +0 -3
- package/src/assets/images/caretUp.svg +0 -3
- package/src/assets/images/checkWhite.svg +0 -3
- package/src/assets/images/circleTick.svg +0 -3
- package/src/assets/images/crossIcon.svg +0 -3
- package/src/assets/images/dotsThreeVertical.svg +0 -5
- package/src/assets/images/fileIcon.svg +0 -8
- package/src/assets/images/searchIcon.svg +0 -4
- package/src/assets/images/trash.svg +0 -7
- package/src/assets/images/uploadFileIcon.svg +0 -12
- package/src/assets/index.ts +0 -33
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dhre-ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.114",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "lib/index.mjs",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
|
-
"lib/**/*"
|
|
9
|
-
"src/assets/**/*"
|
|
8
|
+
"lib/**/*"
|
|
10
9
|
],
|
|
11
10
|
"keywords": [
|
|
12
11
|
"react-native",
|
|
@@ -47,10 +46,10 @@
|
|
|
47
46
|
"react-native-pdf": "^6.7.5",
|
|
48
47
|
"react-native-progress": "^5.0.1",
|
|
49
48
|
"react-native-svg": "^15.4.0",
|
|
49
|
+
"react-native-svg-transformer": "^1.5.0",
|
|
50
50
|
"react-native-webview": "^13.12.0",
|
|
51
51
|
"react-redux": "^9.1.2",
|
|
52
|
-
"rn-tooltip": "^3.0.3"
|
|
53
|
-
"rollup-plugin-react-svg": "^3.0.3"
|
|
52
|
+
"rn-tooltip": "^3.0.3"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
55
|
"@babel/preset-env": "^7.25.7",
|
|
@@ -82,9 +81,7 @@
|
|
|
82
81
|
"jest": "^29.7.0",
|
|
83
82
|
"lint-staged": "^15.2.10",
|
|
84
83
|
"prettier": "^3.3.3",
|
|
85
|
-
"
|
|
86
|
-
"react-svg-loader": "^3.0.3",
|
|
87
|
-
"rollup": "^2.79.2",
|
|
84
|
+
"rollup": "^2.79.1",
|
|
88
85
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
89
86
|
"rollup-plugin-dts": "^6.1.1",
|
|
90
87
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
@@ -92,7 +89,6 @@
|
|
|
92
89
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
93
90
|
"rollup-plugin-svg": "^2.0.0",
|
|
94
91
|
"rollup-plugin-svg-import": "^3.0.0",
|
|
95
|
-
"rollup-plugin-svgr": "^2.1.0",
|
|
96
92
|
"rollup-plugin-terser": "^7.0.2",
|
|
97
93
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
98
94
|
"typescript": "^5.6.3",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.6006 4.1864C15.9252 4.46466 15.9628 4.9534 15.6846 5.27804L9.92289 12L15.6846 18.722C15.9628 19.0466 15.9252 19.5353 15.6006 19.8136C15.276 20.0919 14.7872 20.0543 14.5089 19.7296L8.31541 12.5038C8.0669 12.2139 8.0669 11.7861 8.31541 11.4962L14.5089 4.27037C14.7872 3.94573 15.276 3.90813 15.6006 4.1864Z" fill="white"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="29" height="29" viewBox="0 0 29 29" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M18.8046 25.375C18.8046 25.5553 18.733 25.7281 18.6056 25.8556C18.4781 25.9831 18.3052 26.0547 18.125 26.0547H10.875C10.6947 26.0547 10.5218 25.9831 10.3943 25.8556C10.2669 25.7281 10.1953 25.5553 10.1953 25.375C10.1953 25.1947 10.2669 25.0219 10.3943 24.8944C10.5218 24.7669 10.6947 24.6953 10.875 24.6953H18.125C18.3052 24.6953 18.4781 24.7669 18.6056 24.8944C18.733 25.0219 18.8046 25.1947 18.8046 25.375ZM24.9343 21.6367C24.7968 21.8787 24.5974 22.0798 24.3565 22.2191C24.1156 22.3585 23.8419 22.4312 23.5636 22.4297H5.43745C5.15868 22.4291 4.88499 22.355 4.64396 22.215C4.40293 22.0749 4.20307 21.8738 4.06454 21.6319C3.92601 21.3899 3.85369 21.1158 3.85487 20.837C3.85606 20.5583 3.9307 20.2847 4.07128 20.044C4.71132 18.9406 5.66402 15.8299 5.66402 11.7812C5.66402 9.43781 6.59494 7.19036 8.252 5.5333C9.90906 3.87624 12.1565 2.94531 14.5 2.94531C16.8434 2.94531 19.0908 3.87624 20.7479 5.5333C22.405 7.19036 23.3359 9.43781 23.3359 11.7812C23.3359 15.8288 24.2897 18.9406 24.9309 20.044C25.073 20.2852 25.1482 20.5599 25.1488 20.8399C25.1494 21.1198 25.0754 21.3949 24.9343 21.6367ZM23.755 20.7305C22.8975 19.2578 21.9765 15.8231 21.9765 11.7812C21.9765 9.79834 21.1888 7.89665 19.7867 6.49452C18.3846 5.09239 16.4829 4.30469 14.5 4.30469C12.517 4.30469 10.6154 5.09239 9.21323 6.49452C7.8111 7.89665 7.02339 9.79834 7.02339 11.7812C7.02339 15.8243 6.10128 19.2578 5.24374 20.7305C5.22386 20.7649 5.21339 20.804 5.21339 20.8438C5.21339 20.8835 5.22386 20.9226 5.24374 20.957C5.2624 20.9917 5.29022 21.0206 5.32418 21.0406C5.35814 21.0606 5.39693 21.0709 5.43632 21.0703H23.5625C23.6018 21.0709 23.6406 21.0606 23.6746 21.0406C23.7085 21.0206 23.7364 20.9917 23.755 20.957C23.7749 20.9226 23.7854 20.8835 23.7854 20.8438C23.7854 20.804 23.7749 20.7649 23.755 20.7305Z" fill="white"/>
|
|
3
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#000000" viewBox="0 0 256 256"><path d="M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-70-78a10,10,0,1,1-10-10A10,10,0,0,1,138,132Zm44,0a10,10,0,1,1-10-10A10,10,0,0,1,182,132ZM94,172a10,10,0,1,1-10-10A10,10,0,0,1,94,172Zm44,0a10,10,0,1,1-10-10A10,10,0,0,1,138,172Zm44,0a10,10,0,1,1-10-10A10,10,0,0,1,182,172Z"></path></svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M14.0306 7.21937C14.1004 7.28903 14.1557 7.37175 14.1934 7.46279C14.2312 7.55384 14.2506 7.65144 14.2506 7.75C14.2506 7.84856 14.2312 7.94616 14.1934 8.03721C14.1557 8.12825 14.1004 8.21097 14.0306 8.28063L8.78063 13.5306C8.71097 13.6004 8.62826 13.6557 8.53721 13.6934C8.44616 13.7312 8.34857 13.7506 8.25 13.7506C8.15144 13.7506 8.05385 13.7312 7.9628 13.6934C7.87175 13.6557 7.78903 13.6004 7.71938 13.5306L5.46938 11.2806C5.32865 11.1399 5.24959 10.949 5.24959 10.75C5.24959 10.551 5.32865 10.3601 5.46938 10.2194C5.61011 10.0786 5.80098 9.99958 6 9.99958C6.19903 9.99958 6.3899 10.0786 6.53063 10.2194L8.25 11.9397L12.9694 7.21937C13.039 7.14964 13.1218 7.09432 13.2128 7.05658C13.3038 7.01884 13.4014 6.99941 13.5 6.99941C13.5986 6.99941 13.6962 7.01884 13.7872 7.05658C13.8783 7.09432 13.961 7.14964 14.0306 7.21937ZM19.5 10C19.5 11.9284 18.9282 13.8134 17.8568 15.4168C16.7855 17.0202 15.2627 18.2699 13.4812 19.0078C11.6996 19.7458 9.73919 19.9389 7.84787 19.5627C5.95656 19.1865 4.21927 18.2579 2.85571 16.8943C1.49215 15.5307 0.563554 13.7934 0.187348 11.9021C-0.188858 10.0108 0.00422448 8.05042 0.742179 6.26884C1.48013 4.48726 2.72982 2.96452 4.33319 1.89317C5.93657 0.821828 7.82164 0.25 9.75 0.25C12.335 0.25273 14.8134 1.28084 16.6413 3.10872C18.4692 4.93661 19.4973 7.41498 19.5 10ZM18 10C18 8.3683 17.5161 6.77325 16.6096 5.41655C15.7031 4.05984 14.4146 3.00242 12.9071 2.37799C11.3997 1.75357 9.74085 1.59019 8.14051 1.90852C6.54017 2.22685 5.07016 3.01259 3.91637 4.16637C2.76259 5.32015 1.97685 6.79016 1.65853 8.3905C1.3402 9.99085 1.50358 11.6496 2.128 13.1571C2.75242 14.6646 3.80984 15.9531 5.16655 16.8596C6.52326 17.7661 8.11831 18.25 9.75 18.25C11.9373 18.2475 14.0343 17.3775 15.5809 15.8309C17.1275 14.2843 17.9975 12.1873 18 10Z" fill="white"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M17.6569 8.03174C17.9247 7.76395 17.9247 7.32978 17.6569 7.06199C17.3892 6.7942 16.955 6.79419 16.6872 7.06197L12 11.749L7.31294 7.06187C7.04516 6.79407 6.61099 6.79407 6.34319 7.06185C6.0754 7.32963 6.0754 7.76381 6.34318 8.0316L11.0302 12.7188L6.34307 17.4058C6.07528 17.6736 6.07527 18.1077 6.34305 18.3755C6.61084 18.6433 7.04501 18.6433 7.3128 18.3755L11.9999 13.6885L16.687 18.3757C16.9548 18.6435 17.3889 18.6435 17.6567 18.3757C17.9245 18.108 17.9245 17.6738 17.6567 17.406L12.9697 12.7188L17.6569 8.03174Z" fill="white"/>
|
|
3
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M13.4375 6C13.4375 6.79391 12.7939 7.4375 12 7.4375C11.2061 7.4375 10.5625 6.79391 10.5625 6C10.5625 5.20609 11.2061 4.5625 12 4.5625C12.7939 4.5625 13.4375 5.20609 13.4375 6Z" fill="white" stroke="white" stroke-width="0.125"/>
|
|
3
|
-
<path d="M13.4375 12C13.4375 12.7939 12.7939 13.4375 12 13.4375C11.2061 13.4375 10.5625 12.7939 10.5625 12C10.5625 11.2061 11.2061 10.5625 12 10.5625C12.7939 10.5625 13.4375 11.2061 13.4375 12Z" fill="white" stroke="white" stroke-width="0.125"/>
|
|
4
|
-
<path d="M12 19.5C12.8284 19.5 13.5 18.8284 13.5 18C13.5 17.1716 12.8284 16.5 12 16.5C11.1716 16.5 10.5 17.1716 10.5 18C10.5 18.8284 11.1716 19.5 12 19.5Z" fill="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M4.5 12V3.75C4.5 3.55109 4.57902 3.36032 4.71967 3.21967C4.86032 3.07902 5.05109 3 5.25 3H14.25L19.5 8.25V12" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M14.25 3V8.25H19.5" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M4.5 18.75H6C6.39782 18.75 6.77936 18.592 7.06066 18.3107C7.34196 18.0294 7.5 17.6478 7.5 17.25C7.5 16.8522 7.34196 16.4706 7.06066 16.1893C6.77936 15.908 6.39782 15.75 6 15.75H4.5V20.25" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M20.25 15.75H17.625V20.25" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
<path d="M19.875 18.375H17.625" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
-
<path d="M12 20.25C12.5967 20.25 13.169 20.0129 13.591 19.591C14.0129 19.169 14.25 18.5967 14.25 18C14.25 17.4033 14.0129 16.831 13.591 16.409C13.169 15.9871 12.5967 15.75 12 15.75H10.6875V20.25H12Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M10.875 19.4688C15.2242 19.4688 18.75 15.943 18.75 11.5938C18.75 7.24451 15.2242 3.71875 10.875 3.71875C6.52576 3.71875 3 7.24451 3 11.5938C3 15.943 6.52576 19.4688 10.875 19.4688Z" stroke="#A7A7A7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M16.4438 17.1625L21 21.7188" stroke="#A7A7A7" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M20.25 5.25H3.75" stroke="#EB0542" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M9.75 9.75V15.75" stroke="#EB0542" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M14.25 9.75V15.75" stroke="#EB0542" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M18.75 5.25V19.5C18.75 19.6989 18.671 19.8897 18.5303 20.0303C18.3897 20.171 18.1989 20.25 18 20.25H6C5.80109 20.25 5.61032 20.171 5.46967 20.0303C5.32902 19.8897 5.25 19.6989 5.25 19.5V5.25" stroke="#EB0542" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
<path d="M15.75 5.25V3.75C15.75 3.35218 15.592 2.97064 15.3107 2.68934C15.0294 2.40804 14.6478 2.25 14.25 2.25H9.75C9.35218 2.25 8.97064 2.40804 8.68934 2.68934C8.40804 2.97064 8.25 3.35218 8.25 3.75V5.25" stroke="#EB0542" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_489_41808)">
|
|
3
|
-
<path d="M12 14V3.5" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M20.25 14V20H3.75V14" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M8.25 7.25L12 3.5L15.75 7.25" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
</g>
|
|
7
|
-
<defs>
|
|
8
|
-
<clipPath id="clip0_489_41808">
|
|
9
|
-
<rect width="24" height="24" fill="white" transform="translate(0 0.5)"/>
|
|
10
|
-
</clipPath>
|
|
11
|
-
</defs>
|
|
12
|
-
</svg>
|
package/src/assets/index.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import CalenderDots from './images/calenderDots.svg';
|
|
2
|
-
import SearchIcon from './images/searchIcon.svg';
|
|
3
|
-
import CrossIcon from './images/crossIcon.svg';
|
|
4
|
-
import CaretUp from './images/caretUp.svg';
|
|
5
|
-
import CaretDown from './images/caretDown.svg';
|
|
6
|
-
import CaretLeft from './images/caretLeft.svg';
|
|
7
|
-
import HeaderIcon from './images/dotsThreeVertical.svg';
|
|
8
|
-
import CircleTick from './images/circleTick.svg';
|
|
9
|
-
import ArrowLeft from './images/arrowLeft.svg';
|
|
10
|
-
import BellSimple from './images/bellSimple.svg';
|
|
11
|
-
import UploadFile from './images/uploadFileIcon.svg';
|
|
12
|
-
import CaretRight from './images/caretRight.svg';
|
|
13
|
-
import CheckWhite from './images/checkWhite.svg';
|
|
14
|
-
import FileIcon from './images/fileIcon.svg';
|
|
15
|
-
import Trash from './images/trash.svg';
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
CalenderDots,
|
|
19
|
-
SearchIcon,
|
|
20
|
-
CrossIcon,
|
|
21
|
-
CaretUp,
|
|
22
|
-
CaretDown,
|
|
23
|
-
CaretLeft,
|
|
24
|
-
HeaderIcon,
|
|
25
|
-
CircleTick,
|
|
26
|
-
ArrowLeft,
|
|
27
|
-
BellSimple,
|
|
28
|
-
UploadFile,
|
|
29
|
-
CaretRight,
|
|
30
|
-
CheckWhite,
|
|
31
|
-
FileIcon,
|
|
32
|
-
Trash,
|
|
33
|
-
};
|