@matchain/matchid-sdk-react 0.1.42-alpha.2 → 0.1.42-alpha.4
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/dist/{chunk-2YN5Y3SM.mjs → chunk-FZUZ63FZ.mjs} +2 -2
- package/dist/chunk-GEM2V3W6.mjs +4638 -0
- package/dist/chunk-GEM2V3W6.mjs.map +1 -0
- package/dist/chunk-SQIJR7RA.mjs +29 -0
- package/dist/chunk-SQIJR7RA.mjs.map +1 -0
- package/dist/components/index.js +647 -452
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +4 -1
- package/dist/hooks/api/index.js +113 -76
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +3 -2
- package/dist/hooks/index.js +321 -151
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -1
- package/dist/index.css +84 -4
- package/dist/index.js +1033 -625
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/types/index.js +44 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/index.mjs +10 -0
- package/dist/types/index.mjs.map +1 -0
- package/example/package.json +1 -0
- package/example/src/App.tsx +54 -28
- package/example/src/components/ButtonGroup/index.tsx +10 -0
- package/example/src/components/Login/index.tsx +2 -2
- package/example/src/components/RoutePrivate/index.tsx +4 -3
- package/example/src/config/chains/index.ts +2 -0
- package/example/src/config/chains/matchMain.ts +27 -0
- package/example/src/config/chains/matchTest.ts +33 -0
- package/example/src/config/index.ts +6 -2
- package/example/src/pages/User/components/BindListModal.tsx +10 -0
- package/example/src/pages/User/components/PohListModal.tsx +10 -0
- package/example/src/pages/User/components/QueryDisplay.tsx +25 -0
- package/example/src/pages/{User.tsx → User/index.tsx} +55 -84
- package/example/src/pages/Wallet.tsx +133 -44
- package/example/src/store/useLocalStore.ts +45 -0
- package/package.json +7 -2
- package/dist/assets/icon/index.d.mts +0 -133
- package/dist/assets/icon/index.d.ts +0 -133
- package/dist/chunk-PZPEWHBV.mjs +0 -4251
- package/dist/chunk-PZPEWHBV.mjs.map +0 -1
- package/dist/components/index.d.mts +0 -4
- package/dist/components/index.d.ts +0 -4
- package/dist/config/chains/index.d.mts +0 -2
- package/dist/config/chains/index.d.ts +0 -2
- package/dist/hooks/api/index.d.mts +0 -5
- package/dist/hooks/api/index.d.ts +0 -5
- package/dist/hooks/index.d.mts +0 -4
- package/dist/hooks/index.d.ts +0 -4
- package/dist/index-B4YpKSY3.d.ts +0 -94
- package/dist/index-CxY3u9Rv.d.ts +0 -89
- package/dist/index-DCReY5T2.d.mts +0 -89
- package/dist/index-DXRGMAbv.d.mts +0 -83
- package/dist/index-DXRGMAbv.d.ts +0 -83
- package/dist/index-DbjibQ5d.d.mts +0 -65
- package/dist/index-GcpJCj6O.d.ts +0 -65
- package/dist/index-_k6h9w0P.d.mts +0 -94
- package/dist/index.d.mts +0 -33
- package/dist/index.d.ts +0 -33
- package/dist/types.d-DwF-Pkvh.d.mts +0 -179
- package/dist/types.d-DwF-Pkvh.d.ts +0 -179
- /package/dist/{chunk-2YN5Y3SM.mjs.map → chunk-FZUZ63FZ.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
package/dist/index.css
CHANGED
|
@@ -587,6 +587,7 @@ body {
|
|
|
587
587
|
cursor: not-allowed;
|
|
588
588
|
background: var(--matchid-btn-disabled-bg);
|
|
589
589
|
color: var(--matchid-btn-disabled-color);
|
|
590
|
+
border-width: 0px;
|
|
590
591
|
}
|
|
591
592
|
|
|
592
593
|
.matchid-btn-loading {
|
|
@@ -811,6 +812,7 @@ body {
|
|
|
811
812
|
display: none;
|
|
812
813
|
position: absolute;
|
|
813
814
|
z-index: 100;
|
|
815
|
+
|
|
814
816
|
.matchid-popover-content {
|
|
815
817
|
background: var(--matchid-popover-bg);
|
|
816
818
|
box-shadow: var(--matchid-shadow-middle);
|
|
@@ -826,13 +828,13 @@ body {
|
|
|
826
828
|
}
|
|
827
829
|
|
|
828
830
|
&.matchid-popover-click-active {
|
|
829
|
-
.matchid-popover-area{
|
|
831
|
+
.matchid-popover-area {
|
|
830
832
|
display: block;
|
|
831
833
|
}
|
|
832
834
|
}
|
|
833
835
|
|
|
834
836
|
&.matchid-popover-hover:hover {
|
|
835
|
-
.matchid-popover-area{
|
|
837
|
+
.matchid-popover-area {
|
|
836
838
|
display: block;
|
|
837
839
|
}
|
|
838
840
|
}
|
|
@@ -945,9 +947,87 @@ body {
|
|
|
945
947
|
padding-right: 0;
|
|
946
948
|
}
|
|
947
949
|
|
|
948
|
-
.matchid-cex-modal{
|
|
950
|
+
.matchid-cex-modal {
|
|
949
951
|
font-size: 14px;
|
|
950
952
|
display: flex;
|
|
951
953
|
flex-direction: column;
|
|
952
|
-
gap:12px;
|
|
954
|
+
gap: 12px;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.matchid-drawer {
|
|
958
|
+
|
|
959
|
+
width: 416px;
|
|
960
|
+
height: 100vh;
|
|
961
|
+
padding: 24px 24px 0;
|
|
962
|
+
background: #FFFFFF;
|
|
963
|
+
display: flex;
|
|
964
|
+
gap: 48px;
|
|
965
|
+
position: absolute;
|
|
966
|
+
top: 0;
|
|
967
|
+
right: 0;
|
|
968
|
+
transition: all 0.3s;
|
|
969
|
+
flex-direction: column;
|
|
970
|
+
border-left: 1px solid #D3D3D3;
|
|
971
|
+
box-shadow: -20px 0px 20px 0px rgba(22, 17, 46, 0.12);
|
|
972
|
+
.matchid-drawer-header{
|
|
973
|
+
display: flex;
|
|
974
|
+
justify-content: flex-end;
|
|
975
|
+
.matchid-drawer-header-close{
|
|
976
|
+
cursor: pointer;
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
.matchid-hashpanel-header{
|
|
981
|
+
font-size: 16px;
|
|
982
|
+
font-weight: 500;
|
|
983
|
+
display: block;
|
|
984
|
+
@media screen and (min-width: 768px) {
|
|
985
|
+
display: none;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.matchid-hashpanel-box{
|
|
990
|
+
display: flex;
|
|
991
|
+
flex-direction: column;
|
|
992
|
+
gap:36px;
|
|
993
|
+
align-items: center;
|
|
994
|
+
@media screen and (min-width: 768px) {
|
|
995
|
+
justify-content: space-between;
|
|
996
|
+
flex: 1;
|
|
997
|
+
padding-bottom: 120px;
|
|
998
|
+
}
|
|
999
|
+
.matchid-hashpanel-content{
|
|
1000
|
+
display: flex;
|
|
1001
|
+
flex-direction: column;
|
|
1002
|
+
gap: 24px;
|
|
1003
|
+
align-items: center;
|
|
1004
|
+
width: 100%;
|
|
1005
|
+
@media screen and (min-width: 768px) {
|
|
1006
|
+
gap: 48px;
|
|
1007
|
+
}
|
|
1008
|
+
.matchid-hashpanel-status{
|
|
1009
|
+
font-size: 24px;
|
|
1010
|
+
font-weight: 500;
|
|
1011
|
+
display: none;
|
|
1012
|
+
@media screen and (min-width: 768px) {
|
|
1013
|
+
display: block;
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
.matchid-hashpanel-img{
|
|
1017
|
+
width:96px;
|
|
1018
|
+
height: 96px;
|
|
1019
|
+
}
|
|
1020
|
+
.matchid-hashpanel-hash{
|
|
1021
|
+
width: 100%;
|
|
1022
|
+
font-size: 14px;
|
|
1023
|
+
word-break: break-all;
|
|
1024
|
+
@media screen and (min-width: 768px){
|
|
1025
|
+
font-size: 16px;
|
|
1026
|
+
}
|
|
1027
|
+
a{
|
|
1028
|
+
color: #006FFF;
|
|
1029
|
+
text-decoration: none;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
953
1033
|
}
|