@hyperbridge/ui 0.0.5 → 0.0.7
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-WFUCFRU6.mjs → chunk-DO43LZ75.mjs} +165 -106
- package/dist/icons/index.d.mts +5 -1
- package/dist/icons/index.mjs +5 -1
- package/dist/index.d.mts +33 -1
- package/dist/index.mjs +302 -11
- package/package.json +2 -1
- package/styles/shadcn.css +4 -4
|
@@ -901,10 +901,10 @@ var SvgLoader = (props) => /* @__PURE__ */ jsxs3(
|
|
|
901
901
|
var Memo30 = memo30(SvgLoader);
|
|
902
902
|
var Loader_default = Memo30;
|
|
903
903
|
|
|
904
|
-
// src/components/icons/
|
|
904
|
+
// src/components/icons/Mainnet.tsx
|
|
905
905
|
import { memo as memo31 } from "react";
|
|
906
906
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
907
|
-
var
|
|
907
|
+
var SvgMainnet = (props) => /* @__PURE__ */ jsx31(
|
|
908
908
|
"svg",
|
|
909
909
|
__spreadProps(__spreadValues({
|
|
910
910
|
width: "1em",
|
|
@@ -914,6 +914,30 @@ var SvgMenu = (props) => /* @__PURE__ */ jsx31(
|
|
|
914
914
|
xmlns: "http://www.w3.org/2000/svg"
|
|
915
915
|
}, props), {
|
|
916
916
|
children: /* @__PURE__ */ jsx31(
|
|
917
|
+
"path",
|
|
918
|
+
{
|
|
919
|
+
d: "M15 4.5a3.5 3.5 0 1 0-7 0A3.5 3.5 0 1 0 4.5 8 3.5 3.5 0 1 0 8 11.5 3.5 3.5 0 1 0 11.501 8 3.5 3.5 0 0 0 15 4.5Z",
|
|
920
|
+
fill: "currentColor"
|
|
921
|
+
}
|
|
922
|
+
)
|
|
923
|
+
})
|
|
924
|
+
);
|
|
925
|
+
var Memo31 = memo31(SvgMainnet);
|
|
926
|
+
var Mainnet_default = Memo31;
|
|
927
|
+
|
|
928
|
+
// src/components/icons/Menu.tsx
|
|
929
|
+
import { memo as memo32 } from "react";
|
|
930
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
931
|
+
var SvgMenu = (props) => /* @__PURE__ */ jsx32(
|
|
932
|
+
"svg",
|
|
933
|
+
__spreadProps(__spreadValues({
|
|
934
|
+
width: "1em",
|
|
935
|
+
height: "1em",
|
|
936
|
+
viewBox: "0 0 16 16",
|
|
937
|
+
fill: "none",
|
|
938
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
939
|
+
}, props), {
|
|
940
|
+
children: /* @__PURE__ */ jsx32(
|
|
917
941
|
"path",
|
|
918
942
|
{
|
|
919
943
|
d: "M1.833 10.167h12.334M1.834 6h12.333",
|
|
@@ -925,13 +949,13 @@ var SvgMenu = (props) => /* @__PURE__ */ jsx31(
|
|
|
925
949
|
)
|
|
926
950
|
})
|
|
927
951
|
);
|
|
928
|
-
var
|
|
929
|
-
var Menu_default =
|
|
952
|
+
var Memo32 = memo32(SvgMenu);
|
|
953
|
+
var Menu_default = Memo32;
|
|
930
954
|
|
|
931
955
|
// src/components/icons/Pen.tsx
|
|
932
|
-
import { memo as
|
|
933
|
-
import { jsx as
|
|
934
|
-
var SvgPen = (props) => /* @__PURE__ */
|
|
956
|
+
import { memo as memo33 } from "react";
|
|
957
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
958
|
+
var SvgPen = (props) => /* @__PURE__ */ jsx33(
|
|
935
959
|
"svg",
|
|
936
960
|
__spreadProps(__spreadValues({
|
|
937
961
|
width: "1em",
|
|
@@ -940,7 +964,7 @@ var SvgPen = (props) => /* @__PURE__ */ jsx32(
|
|
|
940
964
|
fill: "none",
|
|
941
965
|
xmlns: "http://www.w3.org/2000/svg"
|
|
942
966
|
}, props), {
|
|
943
|
-
children: /* @__PURE__ */
|
|
967
|
+
children: /* @__PURE__ */ jsx33(
|
|
944
968
|
"path",
|
|
945
969
|
{
|
|
946
970
|
d: "m9.486 3.951 2.563 2.563-6.14 6.134a4.82 4.82 0 0 1-2.001 1.202l-2.097.64a.244.244 0 0 1-.3-.301l.64-2.097a4.822 4.822 0 0 1 1.201-2.002l6.134-6.139Zm3.672-2.134 1.025 1.025c.396.397.421 1.024.074 1.45l-1.168 1.173-2.554-2.554 1.09-1.094a1.084 1.084 0 0 1 1.533 0Z",
|
|
@@ -949,13 +973,13 @@ var SvgPen = (props) => /* @__PURE__ */ jsx32(
|
|
|
949
973
|
)
|
|
950
974
|
})
|
|
951
975
|
);
|
|
952
|
-
var
|
|
953
|
-
var Pen_default =
|
|
976
|
+
var Memo33 = memo33(SvgPen);
|
|
977
|
+
var Pen_default = Memo33;
|
|
954
978
|
|
|
955
979
|
// src/components/icons/Percent.tsx
|
|
956
|
-
import { memo as
|
|
957
|
-
import { jsx as
|
|
958
|
-
var SvgPercent = (props) => /* @__PURE__ */
|
|
980
|
+
import { memo as memo34 } from "react";
|
|
981
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
982
|
+
var SvgPercent = (props) => /* @__PURE__ */ jsx34(
|
|
959
983
|
"svg",
|
|
960
984
|
__spreadProps(__spreadValues({
|
|
961
985
|
width: "1em",
|
|
@@ -964,7 +988,7 @@ var SvgPercent = (props) => /* @__PURE__ */ jsx33(
|
|
|
964
988
|
fill: "none",
|
|
965
989
|
xmlns: "http://www.w3.org/2000/svg"
|
|
966
990
|
}, props), {
|
|
967
|
-
children: /* @__PURE__ */
|
|
991
|
+
children: /* @__PURE__ */ jsx34(
|
|
968
992
|
"path",
|
|
969
993
|
{
|
|
970
994
|
fillRule: "evenodd",
|
|
@@ -975,13 +999,13 @@ var SvgPercent = (props) => /* @__PURE__ */ jsx33(
|
|
|
975
999
|
)
|
|
976
1000
|
})
|
|
977
1001
|
);
|
|
978
|
-
var
|
|
979
|
-
var Percent_default =
|
|
1002
|
+
var Memo34 = memo34(SvgPercent);
|
|
1003
|
+
var Percent_default = Memo34;
|
|
980
1004
|
|
|
981
1005
|
// src/components/icons/Plus.tsx
|
|
982
|
-
import { memo as
|
|
983
|
-
import { jsx as
|
|
984
|
-
var SvgPlus = (props) => /* @__PURE__ */
|
|
1006
|
+
import { memo as memo35 } from "react";
|
|
1007
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
1008
|
+
var SvgPlus = (props) => /* @__PURE__ */ jsx35(
|
|
985
1009
|
"svg",
|
|
986
1010
|
__spreadProps(__spreadValues({
|
|
987
1011
|
width: "1em",
|
|
@@ -990,7 +1014,7 @@ var SvgPlus = (props) => /* @__PURE__ */ jsx34(
|
|
|
990
1014
|
fill: "none",
|
|
991
1015
|
xmlns: "http://www.w3.org/2000/svg"
|
|
992
1016
|
}, props), {
|
|
993
|
-
children: /* @__PURE__ */
|
|
1017
|
+
children: /* @__PURE__ */ jsx35(
|
|
994
1018
|
"path",
|
|
995
1019
|
{
|
|
996
1020
|
fillRule: "evenodd",
|
|
@@ -1001,13 +1025,13 @@ var SvgPlus = (props) => /* @__PURE__ */ jsx34(
|
|
|
1001
1025
|
)
|
|
1002
1026
|
})
|
|
1003
1027
|
);
|
|
1004
|
-
var
|
|
1005
|
-
var Plus_default =
|
|
1028
|
+
var Memo35 = memo35(SvgPlus);
|
|
1029
|
+
var Plus_default = Memo35;
|
|
1006
1030
|
|
|
1007
1031
|
// src/components/icons/Power.tsx
|
|
1008
|
-
import { memo as
|
|
1009
|
-
import { jsx as
|
|
1010
|
-
var SvgPower = (props) => /* @__PURE__ */
|
|
1032
|
+
import { memo as memo36 } from "react";
|
|
1033
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
1034
|
+
var SvgPower = (props) => /* @__PURE__ */ jsx36(
|
|
1011
1035
|
"svg",
|
|
1012
1036
|
__spreadProps(__spreadValues({
|
|
1013
1037
|
width: "1em",
|
|
@@ -1016,7 +1040,7 @@ var SvgPower = (props) => /* @__PURE__ */ jsx35(
|
|
|
1016
1040
|
fill: "none",
|
|
1017
1041
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1018
1042
|
}, props), {
|
|
1019
|
-
children: /* @__PURE__ */
|
|
1043
|
+
children: /* @__PURE__ */ jsx36(
|
|
1020
1044
|
"path",
|
|
1021
1045
|
{
|
|
1022
1046
|
d: "M7.999 2v6m3.816-3.216a5.4 5.4 0 1 1-7.639 0",
|
|
@@ -1028,13 +1052,13 @@ var SvgPower = (props) => /* @__PURE__ */ jsx35(
|
|
|
1028
1052
|
)
|
|
1029
1053
|
})
|
|
1030
1054
|
);
|
|
1031
|
-
var
|
|
1032
|
-
var Power_default =
|
|
1055
|
+
var Memo36 = memo36(SvgPower);
|
|
1056
|
+
var Power_default = Memo36;
|
|
1033
1057
|
|
|
1034
1058
|
// src/components/icons/RotateCcw.tsx
|
|
1035
|
-
import { memo as
|
|
1036
|
-
import { jsx as
|
|
1037
|
-
var SvgRotateCcw = (props) => /* @__PURE__ */
|
|
1059
|
+
import { memo as memo37 } from "react";
|
|
1060
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
1061
|
+
var SvgRotateCcw = (props) => /* @__PURE__ */ jsx37(
|
|
1038
1062
|
"svg",
|
|
1039
1063
|
__spreadProps(__spreadValues({
|
|
1040
1064
|
width: "1em",
|
|
@@ -1043,7 +1067,7 @@ var SvgRotateCcw = (props) => /* @__PURE__ */ jsx36(
|
|
|
1043
1067
|
fill: "none",
|
|
1044
1068
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1045
1069
|
}, props), {
|
|
1046
|
-
children: /* @__PURE__ */
|
|
1070
|
+
children: /* @__PURE__ */ jsx37(
|
|
1047
1071
|
"path",
|
|
1048
1072
|
{
|
|
1049
1073
|
d: "M2.827 9.833A5.502 5.502 0 0 0 13.514 8a5.5 5.5 0 0 0-5.5-5.5c-1.878 0-3.133.803-4.347 2.173m-.5-2.006v2.166a.5.5 0 0 0 .5.5h2.166",
|
|
@@ -1055,13 +1079,13 @@ var SvgRotateCcw = (props) => /* @__PURE__ */ jsx36(
|
|
|
1055
1079
|
)
|
|
1056
1080
|
})
|
|
1057
1081
|
);
|
|
1058
|
-
var
|
|
1059
|
-
var RotateCcw_default =
|
|
1082
|
+
var Memo37 = memo37(SvgRotateCcw);
|
|
1083
|
+
var RotateCcw_default = Memo37;
|
|
1060
1084
|
|
|
1061
1085
|
// src/components/icons/Search.tsx
|
|
1062
|
-
import { memo as
|
|
1063
|
-
import { jsx as
|
|
1064
|
-
var SvgSearch = (props) => /* @__PURE__ */
|
|
1086
|
+
import { memo as memo38 } from "react";
|
|
1087
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
1088
|
+
var SvgSearch = (props) => /* @__PURE__ */ jsx38(
|
|
1065
1089
|
"svg",
|
|
1066
1090
|
__spreadProps(__spreadValues({
|
|
1067
1091
|
width: "1em",
|
|
@@ -1070,7 +1094,7 @@ var SvgSearch = (props) => /* @__PURE__ */ jsx37(
|
|
|
1070
1094
|
fill: "none",
|
|
1071
1095
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1072
1096
|
}, props), {
|
|
1073
|
-
children: /* @__PURE__ */
|
|
1097
|
+
children: /* @__PURE__ */ jsx38(
|
|
1074
1098
|
"path",
|
|
1075
1099
|
{
|
|
1076
1100
|
d: "m14 14-2.9-2.9m1.567-3.767A5.333 5.333 0 1 1 2 7.333a5.333 5.333 0 0 1 10.667 0Z",
|
|
@@ -1082,13 +1106,13 @@ var SvgSearch = (props) => /* @__PURE__ */ jsx37(
|
|
|
1082
1106
|
)
|
|
1083
1107
|
})
|
|
1084
1108
|
);
|
|
1085
|
-
var
|
|
1086
|
-
var Search_default =
|
|
1109
|
+
var Memo38 = memo38(SvgSearch);
|
|
1110
|
+
var Search_default = Memo38;
|
|
1087
1111
|
|
|
1088
1112
|
// src/components/icons/Server.tsx
|
|
1089
|
-
import { memo as
|
|
1090
|
-
import { jsx as
|
|
1091
|
-
var SvgServer = (props) => /* @__PURE__ */
|
|
1113
|
+
import { memo as memo39 } from "react";
|
|
1114
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
1115
|
+
var SvgServer = (props) => /* @__PURE__ */ jsx39(
|
|
1092
1116
|
"svg",
|
|
1093
1117
|
__spreadProps(__spreadValues({
|
|
1094
1118
|
width: "1em",
|
|
@@ -1097,7 +1121,7 @@ var SvgServer = (props) => /* @__PURE__ */ jsx38(
|
|
|
1097
1121
|
fill: "none",
|
|
1098
1122
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1099
1123
|
}, props), {
|
|
1100
|
-
children: /* @__PURE__ */
|
|
1124
|
+
children: /* @__PURE__ */ jsx39(
|
|
1101
1125
|
"path",
|
|
1102
1126
|
{
|
|
1103
1127
|
d: "M11.665 3.208c0-.44-.25-.78-.527-1.013-.28-.236-.65-.422-1.056-.567-.817-.292-1.907-.461-3.083-.461-1.177 0-2.267.169-3.084.46-.406.146-.776.332-1.055.568-.277.234-.528.574-.528 1.013v2.625c0 .44.251.78.528 1.014.28.235.65.422 1.055.567.817.292 1.907.46 3.084.46 1.176 0 2.266-.168 3.083-.46.406-.145.776-.332 1.055-.567.277-.234.528-.574.528-1.014V3.208Zm-8.052-.122a.437.437 0 0 0-.11.122c.01.02.037.06.11.122.133.113.362.241.695.36.66.236 1.612.393 2.69.393 1.08 0 2.03-.157 2.692-.393.333-.119.561-.247.695-.36a.436.436 0 0 0 .11-.122.436.436 0 0 0-.11-.122c-.134-.113-.362-.24-.695-.36-.661-.236-1.612-.393-2.691-.393-1.08 0-2.03.157-2.691.393-.333.12-.562.247-.695.36ZM10.475 8.512a4.906 4.906 0 0 0 1.19-.6v2.88c0 .44-.25.78-.527 1.013-.28.236-.65.422-1.056.567-.817.292-1.907.461-3.083.461-1.177 0-2.267-.17-3.084-.46-.406-.146-.776-.332-1.055-.568-.277-.234-.528-.574-.528-1.013v-2.88c.374.266.794.459 1.19.6.974.348 2.203.53 3.477.53s2.503-.182 3.476-.53Z",
|
|
@@ -1106,13 +1130,13 @@ var SvgServer = (props) => /* @__PURE__ */ jsx38(
|
|
|
1106
1130
|
)
|
|
1107
1131
|
})
|
|
1108
1132
|
);
|
|
1109
|
-
var
|
|
1110
|
-
var Server_default =
|
|
1133
|
+
var Memo39 = memo39(SvgServer);
|
|
1134
|
+
var Server_default = Memo39;
|
|
1111
1135
|
|
|
1112
1136
|
// src/components/icons/SettingsGear.tsx
|
|
1113
|
-
import { memo as
|
|
1114
|
-
import { jsx as
|
|
1115
|
-
var SvgSettingsGear = (props) => /* @__PURE__ */
|
|
1137
|
+
import { memo as memo40 } from "react";
|
|
1138
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
1139
|
+
var SvgSettingsGear = (props) => /* @__PURE__ */ jsx40(
|
|
1116
1140
|
"svg",
|
|
1117
1141
|
__spreadProps(__spreadValues({
|
|
1118
1142
|
width: "1em",
|
|
@@ -1121,7 +1145,7 @@ var SvgSettingsGear = (props) => /* @__PURE__ */ jsx39(
|
|
|
1121
1145
|
fill: "none",
|
|
1122
1146
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1123
1147
|
}, props), {
|
|
1124
|
-
children: /* @__PURE__ */
|
|
1148
|
+
children: /* @__PURE__ */ jsx40(
|
|
1125
1149
|
"path",
|
|
1126
1150
|
{
|
|
1127
1151
|
fillRule: "evenodd",
|
|
@@ -1132,13 +1156,13 @@ var SvgSettingsGear = (props) => /* @__PURE__ */ jsx39(
|
|
|
1132
1156
|
)
|
|
1133
1157
|
})
|
|
1134
1158
|
);
|
|
1135
|
-
var
|
|
1136
|
-
var SettingsGear_default =
|
|
1159
|
+
var Memo40 = memo40(SvgSettingsGear);
|
|
1160
|
+
var SettingsGear_default = Memo40;
|
|
1137
1161
|
|
|
1138
1162
|
// src/components/icons/Settings.tsx
|
|
1139
|
-
import { memo as
|
|
1140
|
-
import { jsx as
|
|
1141
|
-
var SvgSettings = (props) => /* @__PURE__ */
|
|
1163
|
+
import { memo as memo41 } from "react";
|
|
1164
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
1165
|
+
var SvgSettings = (props) => /* @__PURE__ */ jsx41(
|
|
1142
1166
|
"svg",
|
|
1143
1167
|
__spreadProps(__spreadValues({
|
|
1144
1168
|
width: "1em",
|
|
@@ -1147,7 +1171,7 @@ var SvgSettings = (props) => /* @__PURE__ */ jsx40(
|
|
|
1147
1171
|
fill: "none",
|
|
1148
1172
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1149
1173
|
}, props), {
|
|
1150
|
-
children: /* @__PURE__ */
|
|
1174
|
+
children: /* @__PURE__ */ jsx41(
|
|
1151
1175
|
"path",
|
|
1152
1176
|
{
|
|
1153
1177
|
fillRule: "evenodd",
|
|
@@ -1158,12 +1182,12 @@ var SvgSettings = (props) => /* @__PURE__ */ jsx40(
|
|
|
1158
1182
|
)
|
|
1159
1183
|
})
|
|
1160
1184
|
);
|
|
1161
|
-
var
|
|
1162
|
-
var Settings_default =
|
|
1185
|
+
var Memo41 = memo41(SvgSettings);
|
|
1186
|
+
var Settings_default = Memo41;
|
|
1163
1187
|
|
|
1164
1188
|
// src/components/icons/Shuffle.tsx
|
|
1165
|
-
import { memo as
|
|
1166
|
-
import { jsx as
|
|
1189
|
+
import { memo as memo42 } from "react";
|
|
1190
|
+
import { jsx as jsx42, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1167
1191
|
var SvgShuffle = (props) => /* @__PURE__ */ jsxs4(
|
|
1168
1192
|
"svg",
|
|
1169
1193
|
__spreadProps(__spreadValues({
|
|
@@ -1174,14 +1198,14 @@ var SvgShuffle = (props) => /* @__PURE__ */ jsxs4(
|
|
|
1174
1198
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1175
1199
|
}, props), {
|
|
1176
1200
|
children: [
|
|
1177
|
-
/* @__PURE__ */
|
|
1201
|
+
/* @__PURE__ */ jsx42(
|
|
1178
1202
|
"path",
|
|
1179
1203
|
{
|
|
1180
1204
|
d: "M10.98 3.646a.5.5 0 0 0 0 .708l.48.48H8.918c-.447 0-.855.255-1.05.657l-.14.29a.267.267 0 0 0 0 .232l.379.783c.049.1.191.1.24 0l.421-.869a.167.167 0 0 1 .15-.094h2.542l-.48.48a.5.5 0 0 0 .707.707l1.333-1.333a.5.5 0 0 0 0-.707l-1.333-1.334a.5.5 0 0 0-.707 0ZM6.69 10.219a.267.267 0 0 0 0-.232l-.38-.783a.133.133 0 0 0-.24 0l-.421.869a.167.167 0 0 1-.15.094H3.334a.5.5 0 1 0 0 1h2.165c.447 0 .855-.256 1.05-.658l.14-.29Z",
|
|
1181
1205
|
fill: "currentColor"
|
|
1182
1206
|
}
|
|
1183
1207
|
),
|
|
1184
|
-
/* @__PURE__ */
|
|
1208
|
+
/* @__PURE__ */ jsx42(
|
|
1185
1209
|
"path",
|
|
1186
1210
|
{
|
|
1187
1211
|
d: "M10.98 12.354a.5.5 0 0 1 0-.708l.48-.48H8.918c-.447 0-.855-.255-1.05-.657L5.649 5.927a.167.167 0 0 0-.15-.094H3.334a.5.5 0 1 1 0-1h2.165c.447 0 .855.256 1.05.658l2.219 4.582a.167.167 0 0 0 .15.094h2.542l-.48-.48a.5.5 0 0 1 .707-.707l1.333 1.333a.5.5 0 0 1 0 .707l-1.333 1.334a.5.5 0 0 1-.707 0Z",
|
|
@@ -1191,13 +1215,13 @@ var SvgShuffle = (props) => /* @__PURE__ */ jsxs4(
|
|
|
1191
1215
|
]
|
|
1192
1216
|
})
|
|
1193
1217
|
);
|
|
1194
|
-
var
|
|
1195
|
-
var Shuffle_default =
|
|
1218
|
+
var Memo42 = memo42(SvgShuffle);
|
|
1219
|
+
var Shuffle_default = Memo42;
|
|
1196
1220
|
|
|
1197
1221
|
// src/components/icons/SquareArrowTopRight.tsx
|
|
1198
|
-
import { memo as
|
|
1199
|
-
import { jsx as
|
|
1200
|
-
var SvgSquareArrowTopRight = (props) => /* @__PURE__ */
|
|
1222
|
+
import { memo as memo43 } from "react";
|
|
1223
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
1224
|
+
var SvgSquareArrowTopRight = (props) => /* @__PURE__ */ jsx43(
|
|
1201
1225
|
"svg",
|
|
1202
1226
|
__spreadProps(__spreadValues({
|
|
1203
1227
|
width: "1em",
|
|
@@ -1206,7 +1230,7 @@ var SvgSquareArrowTopRight = (props) => /* @__PURE__ */ jsx42(
|
|
|
1206
1230
|
fill: "none",
|
|
1207
1231
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1208
1232
|
}, props), {
|
|
1209
|
-
children: /* @__PURE__ */
|
|
1233
|
+
children: /* @__PURE__ */ jsx43(
|
|
1210
1234
|
"path",
|
|
1211
1235
|
{
|
|
1212
1236
|
fillRule: "evenodd",
|
|
@@ -1217,13 +1241,13 @@ var SvgSquareArrowTopRight = (props) => /* @__PURE__ */ jsx42(
|
|
|
1217
1241
|
)
|
|
1218
1242
|
})
|
|
1219
1243
|
);
|
|
1220
|
-
var
|
|
1221
|
-
var SquareArrowTopRight_default =
|
|
1244
|
+
var Memo43 = memo43(SvgSquareArrowTopRight);
|
|
1245
|
+
var SquareArrowTopRight_default = Memo43;
|
|
1222
1246
|
|
|
1223
1247
|
// src/components/icons/StepBack.tsx
|
|
1224
|
-
import { memo as
|
|
1225
|
-
import { jsx as
|
|
1226
|
-
var SvgStepBack = (props) => /* @__PURE__ */
|
|
1248
|
+
import { memo as memo44 } from "react";
|
|
1249
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
1250
|
+
var SvgStepBack = (props) => /* @__PURE__ */ jsx44(
|
|
1227
1251
|
"svg",
|
|
1228
1252
|
__spreadProps(__spreadValues({
|
|
1229
1253
|
width: "1em",
|
|
@@ -1232,7 +1256,7 @@ var SvgStepBack = (props) => /* @__PURE__ */ jsx43(
|
|
|
1232
1256
|
fill: "none",
|
|
1233
1257
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1234
1258
|
}, props), {
|
|
1235
|
-
children: /* @__PURE__ */
|
|
1259
|
+
children: /* @__PURE__ */ jsx44(
|
|
1236
1260
|
"path",
|
|
1237
1261
|
{
|
|
1238
1262
|
fillRule: "evenodd",
|
|
@@ -1243,13 +1267,46 @@ var SvgStepBack = (props) => /* @__PURE__ */ jsx43(
|
|
|
1243
1267
|
)
|
|
1244
1268
|
})
|
|
1245
1269
|
);
|
|
1246
|
-
var
|
|
1247
|
-
var StepBack_default =
|
|
1270
|
+
var Memo44 = memo44(SvgStepBack);
|
|
1271
|
+
var StepBack_default = Memo44;
|
|
1272
|
+
|
|
1273
|
+
// src/components/icons/Testnet.tsx
|
|
1274
|
+
import { memo as memo45 } from "react";
|
|
1275
|
+
import { jsx as jsx45, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1276
|
+
var SvgTestnet = (props) => /* @__PURE__ */ jsxs5(
|
|
1277
|
+
"svg",
|
|
1278
|
+
__spreadProps(__spreadValues({
|
|
1279
|
+
width: "1em",
|
|
1280
|
+
height: "1em",
|
|
1281
|
+
viewBox: "0 0 16 16",
|
|
1282
|
+
fill: "none",
|
|
1283
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1284
|
+
}, props), {
|
|
1285
|
+
children: [
|
|
1286
|
+
/* @__PURE__ */ jsx45(
|
|
1287
|
+
"path",
|
|
1288
|
+
{
|
|
1289
|
+
d: "M11.12 3.12a3.12 3.12 0 1 1-6.24 0 3.12 3.12 0 0 1 6.24 0ZM11.12 12.88a3.12 3.12 0 1 1-6.24 0 3.12 3.12 0 0 1 6.24 0ZM12.88 11.12a3.12 3.12 0 1 1 0-6.24 3.12 3.12 0 0 1 0 6.24Z",
|
|
1290
|
+
fill: "#929DAA"
|
|
1291
|
+
}
|
|
1292
|
+
),
|
|
1293
|
+
/* @__PURE__ */ jsx45(
|
|
1294
|
+
"path",
|
|
1295
|
+
{
|
|
1296
|
+
d: "M3.12 11.12a3.12 3.12 0 1 1 0-6.24 3.12 3.12 0 0 1 0 6.24Z",
|
|
1297
|
+
fill: "currentColor"
|
|
1298
|
+
}
|
|
1299
|
+
)
|
|
1300
|
+
]
|
|
1301
|
+
})
|
|
1302
|
+
);
|
|
1303
|
+
var Memo45 = memo45(SvgTestnet);
|
|
1304
|
+
var Testnet_default = Memo45;
|
|
1248
1305
|
|
|
1249
1306
|
// src/components/icons/Transfer.tsx
|
|
1250
|
-
import { memo as
|
|
1251
|
-
import { jsx as
|
|
1252
|
-
var SvgTransfer = (props) => /* @__PURE__ */
|
|
1307
|
+
import { memo as memo46 } from "react";
|
|
1308
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
1309
|
+
var SvgTransfer = (props) => /* @__PURE__ */ jsx46(
|
|
1253
1310
|
"svg",
|
|
1254
1311
|
__spreadProps(__spreadValues({
|
|
1255
1312
|
width: "1em",
|
|
@@ -1258,7 +1315,7 @@ var SvgTransfer = (props) => /* @__PURE__ */ jsx44(
|
|
|
1258
1315
|
fill: "none",
|
|
1259
1316
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1260
1317
|
}, props), {
|
|
1261
|
-
children: /* @__PURE__ */
|
|
1318
|
+
children: /* @__PURE__ */ jsx46(
|
|
1262
1319
|
"path",
|
|
1263
1320
|
{
|
|
1264
1321
|
d: "M3 6.538 5.96 4v8.459M12.23 9.923l-2.96 2.538V4.002",
|
|
@@ -1270,13 +1327,13 @@ var SvgTransfer = (props) => /* @__PURE__ */ jsx44(
|
|
|
1270
1327
|
)
|
|
1271
1328
|
})
|
|
1272
1329
|
);
|
|
1273
|
-
var
|
|
1274
|
-
var Transfer_default =
|
|
1330
|
+
var Memo46 = memo46(SvgTransfer);
|
|
1331
|
+
var Transfer_default = Memo46;
|
|
1275
1332
|
|
|
1276
1333
|
// src/components/icons/Trash.tsx
|
|
1277
|
-
import { memo as
|
|
1278
|
-
import { jsx as
|
|
1279
|
-
var SvgTrash = (props) => /* @__PURE__ */
|
|
1334
|
+
import { memo as memo47 } from "react";
|
|
1335
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
1336
|
+
var SvgTrash = (props) => /* @__PURE__ */ jsx47(
|
|
1280
1337
|
"svg",
|
|
1281
1338
|
__spreadProps(__spreadValues({
|
|
1282
1339
|
width: "1em",
|
|
@@ -1285,7 +1342,7 @@ var SvgTrash = (props) => /* @__PURE__ */ jsx45(
|
|
|
1285
1342
|
fill: "none",
|
|
1286
1343
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1287
1344
|
}, props), {
|
|
1288
|
-
children: /* @__PURE__ */
|
|
1345
|
+
children: /* @__PURE__ */ jsx47(
|
|
1289
1346
|
"path",
|
|
1290
1347
|
{
|
|
1291
1348
|
d: "m3.333 4.333.582 8.426c.048.699.629 1.241 1.33 1.241h5.51c.701 0 1.283-.542 1.33-1.241l.582-8.426M2.333 4h11.334M5.38 3.83a2.668 2.668 0 0 1 5.24 0",
|
|
@@ -1297,13 +1354,13 @@ var SvgTrash = (props) => /* @__PURE__ */ jsx45(
|
|
|
1297
1354
|
)
|
|
1298
1355
|
})
|
|
1299
1356
|
);
|
|
1300
|
-
var
|
|
1301
|
-
var Trash_default =
|
|
1357
|
+
var Memo47 = memo47(SvgTrash);
|
|
1358
|
+
var Trash_default = Memo47;
|
|
1302
1359
|
|
|
1303
1360
|
// src/components/icons/Wallet.tsx
|
|
1304
|
-
import { memo as
|
|
1305
|
-
import { jsx as
|
|
1306
|
-
var SvgWallet = (props) => /* @__PURE__ */
|
|
1361
|
+
import { memo as memo48 } from "react";
|
|
1362
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
1363
|
+
var SvgWallet = (props) => /* @__PURE__ */ jsx48(
|
|
1307
1364
|
"svg",
|
|
1308
1365
|
__spreadProps(__spreadValues({
|
|
1309
1366
|
width: "1em",
|
|
@@ -1312,7 +1369,7 @@ var SvgWallet = (props) => /* @__PURE__ */ jsx46(
|
|
|
1312
1369
|
fill: "none",
|
|
1313
1370
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1314
1371
|
}, props), {
|
|
1315
|
-
children: /* @__PURE__ */
|
|
1372
|
+
children: /* @__PURE__ */ jsx48(
|
|
1316
1373
|
"path",
|
|
1317
1374
|
{
|
|
1318
1375
|
fillRule: "evenodd",
|
|
@@ -1323,13 +1380,13 @@ var SvgWallet = (props) => /* @__PURE__ */ jsx46(
|
|
|
1323
1380
|
)
|
|
1324
1381
|
})
|
|
1325
1382
|
);
|
|
1326
|
-
var
|
|
1327
|
-
var Wallet_default =
|
|
1383
|
+
var Memo48 = memo48(SvgWallet);
|
|
1384
|
+
var Wallet_default = Memo48;
|
|
1328
1385
|
|
|
1329
1386
|
// src/components/icons/XCircle.tsx
|
|
1330
|
-
import { memo as
|
|
1331
|
-
import { jsx as
|
|
1332
|
-
var SvgXCircle = (props) => /* @__PURE__ */
|
|
1387
|
+
import { memo as memo49 } from "react";
|
|
1388
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
1389
|
+
var SvgXCircle = (props) => /* @__PURE__ */ jsx49(
|
|
1333
1390
|
"svg",
|
|
1334
1391
|
__spreadProps(__spreadValues({
|
|
1335
1392
|
width: "1em",
|
|
@@ -1338,7 +1395,7 @@ var SvgXCircle = (props) => /* @__PURE__ */ jsx47(
|
|
|
1338
1395
|
fill: "none",
|
|
1339
1396
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1340
1397
|
}, props), {
|
|
1341
|
-
children: /* @__PURE__ */
|
|
1398
|
+
children: /* @__PURE__ */ jsx49(
|
|
1342
1399
|
"path",
|
|
1343
1400
|
{
|
|
1344
1401
|
d: "M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm2.948 4.054a.673.673 0 0 0-.95-.001L8.001 7.05 6.003 5.052l-.105-.086a.674.674 0 0 0-.931.931l.087.106L7.05 8 5.054 9.997a.672.672 0 0 0 .95.95L8 8.95l1.996 1.996.105.086a.672.672 0 0 0 .931-.93l-.086-.106L8.951 8l1.996-1.996a.673.673 0 0 0 .001-.95Z",
|
|
@@ -1347,13 +1404,13 @@ var SvgXCircle = (props) => /* @__PURE__ */ jsx47(
|
|
|
1347
1404
|
)
|
|
1348
1405
|
})
|
|
1349
1406
|
);
|
|
1350
|
-
var
|
|
1351
|
-
var XCircle_default =
|
|
1407
|
+
var Memo49 = memo49(SvgXCircle);
|
|
1408
|
+
var XCircle_default = Memo49;
|
|
1352
1409
|
|
|
1353
1410
|
// src/components/icons/XIcon.tsx
|
|
1354
|
-
import { memo as
|
|
1355
|
-
import { jsx as
|
|
1356
|
-
var SvgXIcon = (props) => /* @__PURE__ */
|
|
1411
|
+
import { memo as memo50 } from "react";
|
|
1412
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
1413
|
+
var SvgXIcon = (props) => /* @__PURE__ */ jsx50(
|
|
1357
1414
|
"svg",
|
|
1358
1415
|
__spreadProps(__spreadValues({
|
|
1359
1416
|
width: "1em",
|
|
@@ -1362,7 +1419,7 @@ var SvgXIcon = (props) => /* @__PURE__ */ jsx48(
|
|
|
1362
1419
|
fill: "none",
|
|
1363
1420
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1364
1421
|
}, props), {
|
|
1365
|
-
children: /* @__PURE__ */
|
|
1422
|
+
children: /* @__PURE__ */ jsx50(
|
|
1366
1423
|
"path",
|
|
1367
1424
|
{
|
|
1368
1425
|
d: "m3.334 3.334 9.333 9.333m0-9.333-9.333 9.333",
|
|
@@ -1373,8 +1430,8 @@ var SvgXIcon = (props) => /* @__PURE__ */ jsx48(
|
|
|
1373
1430
|
)
|
|
1374
1431
|
})
|
|
1375
1432
|
);
|
|
1376
|
-
var
|
|
1377
|
-
var XIcon_default =
|
|
1433
|
+
var Memo50 = memo50(SvgXIcon);
|
|
1434
|
+
var XIcon_default = Memo50;
|
|
1378
1435
|
|
|
1379
1436
|
export {
|
|
1380
1437
|
__spreadValues,
|
|
@@ -1410,6 +1467,7 @@ export {
|
|
|
1410
1467
|
Gas_default,
|
|
1411
1468
|
History_default,
|
|
1412
1469
|
Loader_default,
|
|
1470
|
+
Mainnet_default,
|
|
1413
1471
|
Menu_default,
|
|
1414
1472
|
Pen_default,
|
|
1415
1473
|
Percent_default,
|
|
@@ -1423,6 +1481,7 @@ export {
|
|
|
1423
1481
|
Shuffle_default,
|
|
1424
1482
|
SquareArrowTopRight_default,
|
|
1425
1483
|
StepBack_default,
|
|
1484
|
+
Testnet_default,
|
|
1426
1485
|
Transfer_default,
|
|
1427
1486
|
Trash_default,
|
|
1428
1487
|
Wallet_default,
|
package/dist/icons/index.d.mts
CHANGED
|
@@ -2,6 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
|
+
declare const Memo$N: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
6
|
+
|
|
7
|
+
declare const Memo$M: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
8
|
+
|
|
5
9
|
declare const Memo$L: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
6
10
|
|
|
7
11
|
declare const Memo$K: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
@@ -98,4 +102,4 @@ declare const Memo$1: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>)
|
|
|
98
102
|
|
|
99
103
|
declare const Memo: React.MemoExoticComponent<(props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
100
104
|
|
|
101
|
-
export { Memo$
|
|
105
|
+
export { Memo$N as Alert, Memo$M as ArrowBottomTop, Memo$J as ArrowRight, Memo$L as ArrowRightDownCircle, Memo$K as ArrowRightUpCircle, Memo$I as ArrowSplit, Memo$H as ArrowTopBottom, Memo$G as ArrowTriangleBottom, Memo$F as ArrowTriangleTop, Memo$E as ArrowUpRight, Memo$D as ArtifactNews, Memo$C as BrowserWindow, Memo$B as Check, Memo$A as ChevronBottomDown, Memo$z as ChevronBottomUp, Memo$y as ChevronDoubleRight, Memo$x as ChevronDownSmall, Memo$v as ChevronGrabberVertical, Memo$w as ChevronGrabberVertical1, Memo$r as Circle, Memo$u as CircleInfo, Memo$s as CirclePlaceholder, Memo$t as CirclePlaceholderDashed, Memo$q as Clock, Memo$p as Coins, Memo$o as Copy, Memo$n as Filter, Memo$m as Gas, Memo$l as History, Memo$k as Loader, Memo$j as Mainnet, Memo$i as Menu, Memo$h as Pen, Memo$g as Percent, Memo$f as Plus, Memo$e as Power, Memo$d as RotateCcw, Memo$c as Search, Memo$b as Server, Memo$9 as Settings, Memo$a as SettingsGear, Memo$8 as Shuffle, Memo$7 as SquareArrowTopRight, Memo$6 as StepBack, Memo$5 as Testnet, Memo$4 as Transfer, Memo$3 as Trash, Memo$2 as Wallet, Memo$1 as XCircle, Memo as XIcon };
|
package/dist/icons/index.mjs
CHANGED
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
Gas_default,
|
|
30
30
|
History_default,
|
|
31
31
|
Loader_default,
|
|
32
|
+
Mainnet_default,
|
|
32
33
|
Menu_default,
|
|
33
34
|
Pen_default,
|
|
34
35
|
Percent_default,
|
|
@@ -42,12 +43,13 @@ import {
|
|
|
42
43
|
Shuffle_default,
|
|
43
44
|
SquareArrowTopRight_default,
|
|
44
45
|
StepBack_default,
|
|
46
|
+
Testnet_default,
|
|
45
47
|
Transfer_default,
|
|
46
48
|
Trash_default,
|
|
47
49
|
Wallet_default,
|
|
48
50
|
XCircle_default,
|
|
49
51
|
XIcon_default
|
|
50
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-DO43LZ75.mjs";
|
|
51
53
|
export {
|
|
52
54
|
Alert_default as Alert,
|
|
53
55
|
ArrowBottomTop_default as ArrowBottomTop,
|
|
@@ -79,6 +81,7 @@ export {
|
|
|
79
81
|
Gas_default as Gas,
|
|
80
82
|
History_default as History,
|
|
81
83
|
Loader_default as Loader,
|
|
84
|
+
Mainnet_default as Mainnet,
|
|
82
85
|
Menu_default as Menu,
|
|
83
86
|
Pen_default as Pen,
|
|
84
87
|
Percent_default as Percent,
|
|
@@ -92,6 +95,7 @@ export {
|
|
|
92
95
|
Shuffle_default as Shuffle,
|
|
93
96
|
SquareArrowTopRight_default as SquareArrowTopRight,
|
|
94
97
|
StepBack_default as StepBack,
|
|
98
|
+
Testnet_default as Testnet,
|
|
95
99
|
Transfer_default as Transfer,
|
|
96
100
|
Trash_default as Trash,
|
|
97
101
|
Wallet_default as Wallet,
|
package/dist/index.d.mts
CHANGED
|
@@ -10,6 +10,7 @@ import * as motion_dist_react from 'motion/dist/react';
|
|
|
10
10
|
import { Variants } from 'motion/react';
|
|
11
11
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
12
12
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
13
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
13
14
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
14
15
|
|
|
15
16
|
interface SearchInputProps extends Omit<React.ComponentProps<"input">, "size"> {
|
|
@@ -886,6 +887,37 @@ declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrim
|
|
|
886
887
|
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
887
888
|
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
888
889
|
|
|
890
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
891
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
892
|
+
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
893
|
+
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
894
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
895
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
896
|
+
inset?: boolean;
|
|
897
|
+
variant?: "default" | "destructive";
|
|
898
|
+
}): react_jsx_runtime.JSX.Element;
|
|
899
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
900
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
901
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
902
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
903
|
+
inset?: boolean;
|
|
904
|
+
}): react_jsx_runtime.JSX.Element;
|
|
905
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
906
|
+
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
907
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
908
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
909
|
+
inset?: boolean;
|
|
910
|
+
}): react_jsx_runtime.JSX.Element;
|
|
911
|
+
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
912
|
+
|
|
913
|
+
declare const badgeVariants: (props?: ({
|
|
914
|
+
size?: "sm" | null | undefined;
|
|
915
|
+
variant?: "default" | "outline" | "secondary" | "destructive" | "success" | null | undefined;
|
|
916
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
917
|
+
declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
918
|
+
asChild?: boolean;
|
|
919
|
+
}): react_jsx_runtime.JSX.Element;
|
|
920
|
+
|
|
889
921
|
declare function HBDrawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
890
922
|
declare function HBDrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
891
923
|
declare function HBDrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -897,4 +929,4 @@ declare function HBDrawerFooter({ className, ...props }: React$1.ComponentProps<
|
|
|
897
929
|
declare function HBDrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
898
930
|
declare function HBDrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
899
931
|
|
|
900
|
-
export { AccessoryButton, type AccessoryButtonProps, AccountItem, AccountStack, type AccountStackProps, AddressInput, AddressInputFocusBehaviour, AssetList, AssetListItem, AssetValueTrend, BadgeIcon, Balance, BridgeForm, type BridgeFormProps, BridgeInput, BridgeSettings, type BridgeSettingsProps, BridgeTokenButton, Button, type ButtonProps, CWDrawerContent, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMorphContent, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerContent, EmptyState, EmptyStateConceal, EmptyStateContent, EmptyStateDescription, EmptyStateTitle, type EstimatedTimeFormatted, GradientButton, HBDrawer, HBDrawerClose, HBDrawerContent, HBDrawerDescription, HBDrawerFooter, HBDrawerHeader, HBDrawerOverlay, HBDrawerPortal, HBDrawerTitle, HBDrawerTrigger, Header, HeaderContent, HeaderGradient, HeaderNested, IconButton, Input, type InputProps, LabelledSeperator, ListHeading, ListSection, ManageAccounts, Modal, type ModalProps, type Network, NetworkGroupItem, NetworkSelectionItem, NetworkSelector, type NetworkSelectorProps, NetworkSwitcher, NetworkSwitcherButton, type NetworkSwitcherProps, ReviewItem, ReviewItemAddress, ReviewItemCopyAddressButton, ScrollAwareSeparator, SearchInput, type SearchInputProps, Settings, type SettingsProps, Sheet, SheetContent, SheetTrigger, Summary, SummaryValues, SwapForm, type SwapFormProps, SwapTokenButton, SwapTokenItem, type SwapTokenItemProps, SwapTokenSelector, SwapTokenSelectorContent, type SwapTokenSelectorContentProps, SwapTokenSelectorEmpty, type SwapTokenSelectorEmptyProps, SwapTokenSelectorHeader, type SwapTokenSelectorHeaderProps, type SwapTokenSelectorProps, SwapTokenSelectorSearch, type SwapTokenSelectorSearchProps, SwapTokenSelectorSection, type SwapTokenSelectorSectionProps, TabAlt, TabAltContent, TabAltHeader, TabAltHeaders, TabAltPanel, TabItem, Tabs, TabsContent, TabsList, TagButton, Text, TimelineItem, TimelineList, TimelineListGroup, TimelineRoot, TimerWrap, ToastBox, type Token, TokenImage, type TokenInfo, TokenSelectionItem, TokenSelector, type TokenSelectorProps, TokenTransferPair, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionTimer, TxList, TxListItem, TxListItemProcessing, type WalletAccount, WalletAccountItem, WalletConnectedHeader, type WalletConnectedHeaderProps, WalletHeader, type WalletHeaderCallbacks, WalletHeaderContent, WalletHeaderContentBlur, type WalletHeaderContentProps, type WalletHeaderProps, WalletHeaderTabItem, WalletHeaderTabs, WalletHeaderTabsContent, WalletHeaderTabsList, type WalletHeaderTabsProps, WalletManagerUIContent, WalletManagerUIProvider, WalletProviderItem, makeEntry };
|
|
932
|
+
export { AccessoryButton, type AccessoryButtonProps, AccountItem, AccountStack, type AccountStackProps, AddressInput, AddressInputFocusBehaviour, AssetList, AssetListItem, AssetValueTrend, Badge, BadgeIcon, Balance, BridgeForm, type BridgeFormProps, BridgeInput, BridgeSettings, type BridgeSettingsProps, BridgeTokenButton, Button, type ButtonProps, CWDrawerContent, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMorphContent, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerContent, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateConceal, EmptyStateContent, EmptyStateDescription, EmptyStateTitle, type EstimatedTimeFormatted, GradientButton, HBDrawer, HBDrawerClose, HBDrawerContent, HBDrawerDescription, HBDrawerFooter, HBDrawerHeader, HBDrawerOverlay, HBDrawerPortal, HBDrawerTitle, HBDrawerTrigger, Header, HeaderContent, HeaderGradient, HeaderNested, IconButton, Input, type InputProps, LabelledSeperator, ListHeading, ListSection, ManageAccounts, Modal, type ModalProps, type Network, NetworkGroupItem, NetworkSelectionItem, NetworkSelector, type NetworkSelectorProps, NetworkSwitcher, NetworkSwitcherButton, type NetworkSwitcherProps, ReviewItem, ReviewItemAddress, ReviewItemCopyAddressButton, ScrollAwareSeparator, SearchInput, type SearchInputProps, Settings, type SettingsProps, Sheet, SheetContent, SheetTrigger, Summary, SummaryValues, SwapForm, type SwapFormProps, SwapTokenButton, SwapTokenItem, type SwapTokenItemProps, SwapTokenSelector, SwapTokenSelectorContent, type SwapTokenSelectorContentProps, SwapTokenSelectorEmpty, type SwapTokenSelectorEmptyProps, SwapTokenSelectorHeader, type SwapTokenSelectorHeaderProps, type SwapTokenSelectorProps, SwapTokenSelectorSearch, type SwapTokenSelectorSearchProps, SwapTokenSelectorSection, type SwapTokenSelectorSectionProps, TabAlt, TabAltContent, TabAltHeader, TabAltHeaders, TabAltPanel, TabItem, Tabs, TabsContent, TabsList, TagButton, Text, TimelineItem, TimelineList, TimelineListGroup, TimelineRoot, TimerWrap, ToastBox, type Token, TokenImage, type TokenInfo, TokenSelectionItem, TokenSelector, type TokenSelectorProps, TokenTransferPair, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionTimer, TxList, TxListItem, TxListItemProcessing, type WalletAccount, WalletAccountItem, WalletConnectedHeader, type WalletConnectedHeaderProps, WalletHeader, type WalletHeaderCallbacks, WalletHeaderContent, WalletHeaderContentBlur, type WalletHeaderContentProps, type WalletHeaderProps, WalletHeaderTabItem, WalletHeaderTabs, WalletHeaderTabsContent, WalletHeaderTabsList, type WalletHeaderTabsProps, WalletManagerUIContent, WalletManagerUIProvider, WalletProviderItem, badgeVariants, makeEntry };
|
package/dist/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__objRest,
|
|
30
30
|
__spreadProps,
|
|
31
31
|
__spreadValues
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DO43LZ75.mjs";
|
|
33
33
|
|
|
34
34
|
// src/components/atoms/search-input.tsx
|
|
35
35
|
import { cva } from "class-variance-authority";
|
|
@@ -199,7 +199,7 @@ function BadgeIcon(props) {
|
|
|
199
199
|
draggable: false,
|
|
200
200
|
objectFit: "cover",
|
|
201
201
|
className: cn(
|
|
202
|
-
"absolute inset-0 aspect-square h-full w-full rounded-full bg-
|
|
202
|
+
"absolute inset-0 aspect-square h-full w-full rounded-full bg-transparent shrink-0",
|
|
203
203
|
className,
|
|
204
204
|
{
|
|
205
205
|
"border border-brand-black-600": outline
|
|
@@ -3060,7 +3060,7 @@ function DialogMorphContent(_a) {
|
|
|
3060
3060
|
event.preventDefault();
|
|
3061
3061
|
}
|
|
3062
3062
|
};
|
|
3063
|
-
const
|
|
3063
|
+
const Content8 = /* @__PURE__ */ jsxs22(
|
|
3064
3064
|
DialogPrimitive2.Content,
|
|
3065
3065
|
__spreadProps(__spreadValues({
|
|
3066
3066
|
onInteractOutside: handleInteractOutside,
|
|
@@ -3092,7 +3092,7 @@ function DialogMorphContent(_a) {
|
|
|
3092
3092
|
);
|
|
3093
3093
|
return /* @__PURE__ */ jsxs22(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
3094
3094
|
/* @__PURE__ */ jsx31(DialogOverlay, {}),
|
|
3095
|
-
mode === "card" ? /* @__PURE__ */ jsx31(SmoothCorners, { children:
|
|
3095
|
+
mode === "card" ? /* @__PURE__ */ jsx31(SmoothCorners, { children: Content8 }) : /* @__PURE__ */ jsx31(Fragment7, { children: Content8 })
|
|
3096
3096
|
] });
|
|
3097
3097
|
}
|
|
3098
3098
|
|
|
@@ -3323,7 +3323,7 @@ function TimelineItem(props) {
|
|
|
3323
3323
|
exit: { x: 10, opacity: 0 },
|
|
3324
3324
|
className: "flex gap-[calc(8rem/16)] items-center",
|
|
3325
3325
|
children: [
|
|
3326
|
-
hideTime && /* @__PURE__ */ jsx35("span", { className: "text-[calc(13rem/16)] text-brand-black-100", children: (_c = props == null ? void 0 : props.data) == null ? void 0 : _c.completedIn }),
|
|
3326
|
+
!hideTime && /* @__PURE__ */ jsx35("span", { className: "text-[calc(13rem/16)] text-brand-black-100", children: (_c = props == null ? void 0 : props.data) == null ? void 0 : _c.completedIn }),
|
|
3327
3327
|
/* @__PURE__ */ jsx35(
|
|
3328
3328
|
Check_default,
|
|
3329
3329
|
{
|
|
@@ -3344,7 +3344,7 @@ function TimelineItem(props) {
|
|
|
3344
3344
|
layoutId,
|
|
3345
3345
|
className: "flex gap-[calc(10rem/16)] items-center",
|
|
3346
3346
|
children: [
|
|
3347
|
-
hideTime && /* @__PURE__ */ jsxs24("span", { className: "text-[calc(13rem/16)]", children: [
|
|
3347
|
+
!hideTime && /* @__PURE__ */ jsxs24("span", { className: "text-[calc(13rem/16)]", children: [
|
|
3348
3348
|
"~ ",
|
|
3349
3349
|
(_d = props == null ? void 0 : props.data) == null ? void 0 : _d.eta
|
|
3350
3350
|
] }),
|
|
@@ -3669,10 +3669,10 @@ function TxList({ children }) {
|
|
|
3669
3669
|
}
|
|
3670
3670
|
|
|
3671
3671
|
// src/components/molecules/wallet-header.tsx
|
|
3672
|
-
import * as React14 from "react";
|
|
3673
|
-
import { motion as motion5 } from "motion/react";
|
|
3674
|
-
import { cva as cva6 } from "class-variance-authority";
|
|
3675
3672
|
import { Slot as Slot10 } from "@radix-ui/react-slot";
|
|
3673
|
+
import { cva as cva6 } from "class-variance-authority";
|
|
3674
|
+
import { motion as motion5 } from "motion/react";
|
|
3675
|
+
import * as React14 from "react";
|
|
3676
3676
|
|
|
3677
3677
|
// src/components/organisms/assets-collection.tsx
|
|
3678
3678
|
import * as Tab_ from "@radix-ui/react-tabs";
|
|
@@ -4003,7 +4003,8 @@ var AccountStack = React14.forwardRef(
|
|
|
4003
4003
|
src: account.wallet.image,
|
|
4004
4004
|
alt: account.wallet.name,
|
|
4005
4005
|
badgeSrc: account.network.image,
|
|
4006
|
-
badgeAlt: account.network.name
|
|
4006
|
+
badgeAlt: account.network.name,
|
|
4007
|
+
className: "bg-white"
|
|
4007
4008
|
}
|
|
4008
4009
|
)
|
|
4009
4010
|
},
|
|
@@ -4755,7 +4756,7 @@ function CWDrawerContent(_a) {
|
|
|
4755
4756
|
__spreadProps(__spreadValues({}, props), {
|
|
4756
4757
|
side: "right",
|
|
4757
4758
|
className: "h-full max-h-auto max-w-[calc(29.75rem_+_1.25rem)] select-none border-none shadow-none text-brand-white-500 w-full sm:w-[540px] bg-transparent p-[0.625rem]",
|
|
4758
|
-
children: /* @__PURE__ */ jsx48("div", { className: "bg-brand-black-550 flex-1 flex flex-col rounded-[1rem]
|
|
4759
|
+
children: /* @__PURE__ */ jsx48("div", { className: "bg-brand-black-550 flex-1 flex flex-col rounded-[1rem] px-[1rem]", children })
|
|
4759
4760
|
})
|
|
4760
4761
|
);
|
|
4761
4762
|
}
|
|
@@ -4891,6 +4892,279 @@ var SwapTokenItem = ({
|
|
|
4891
4892
|
}
|
|
4892
4893
|
);
|
|
4893
4894
|
};
|
|
4895
|
+
|
|
4896
|
+
// src/@/ui/dropdown-menu.tsx
|
|
4897
|
+
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4898
|
+
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
|
|
4899
|
+
import { jsx as jsx50, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
4900
|
+
function DropdownMenu(_a) {
|
|
4901
|
+
var props = __objRest(_a, []);
|
|
4902
|
+
return /* @__PURE__ */ jsx50(DropdownMenuPrimitive.Root, __spreadValues({ "data-slot": "dropdown-menu" }, props));
|
|
4903
|
+
}
|
|
4904
|
+
function DropdownMenuPortal(_a) {
|
|
4905
|
+
var props = __objRest(_a, []);
|
|
4906
|
+
return /* @__PURE__ */ jsx50(DropdownMenuPrimitive.Portal, __spreadValues({ "data-slot": "dropdown-menu-portal" }, props));
|
|
4907
|
+
}
|
|
4908
|
+
function DropdownMenuTrigger(_a) {
|
|
4909
|
+
var props = __objRest(_a, []);
|
|
4910
|
+
return /* @__PURE__ */ jsx50(
|
|
4911
|
+
DropdownMenuPrimitive.Trigger,
|
|
4912
|
+
__spreadValues({
|
|
4913
|
+
"data-slot": "dropdown-menu-trigger"
|
|
4914
|
+
}, props)
|
|
4915
|
+
);
|
|
4916
|
+
}
|
|
4917
|
+
function DropdownMenuContent(_a) {
|
|
4918
|
+
var _b = _a, {
|
|
4919
|
+
className,
|
|
4920
|
+
sideOffset = 4
|
|
4921
|
+
} = _b, props = __objRest(_b, [
|
|
4922
|
+
"className",
|
|
4923
|
+
"sideOffset"
|
|
4924
|
+
]);
|
|
4925
|
+
return /* @__PURE__ */ jsx50(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx50(
|
|
4926
|
+
DropdownMenuPrimitive.Content,
|
|
4927
|
+
__spreadValues({
|
|
4928
|
+
"data-slot": "dropdown-menu-content",
|
|
4929
|
+
sideOffset,
|
|
4930
|
+
className: cn(
|
|
4931
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-xl p-1 shadow-md",
|
|
4932
|
+
className
|
|
4933
|
+
)
|
|
4934
|
+
}, props)
|
|
4935
|
+
) });
|
|
4936
|
+
}
|
|
4937
|
+
function DropdownMenuGroup(_a) {
|
|
4938
|
+
var props = __objRest(_a, []);
|
|
4939
|
+
return /* @__PURE__ */ jsx50(DropdownMenuPrimitive.Group, __spreadValues({ "data-slot": "dropdown-menu-group" }, props));
|
|
4940
|
+
}
|
|
4941
|
+
function DropdownMenuItem(_a) {
|
|
4942
|
+
var _b = _a, {
|
|
4943
|
+
className,
|
|
4944
|
+
inset,
|
|
4945
|
+
variant = "default"
|
|
4946
|
+
} = _b, props = __objRest(_b, [
|
|
4947
|
+
"className",
|
|
4948
|
+
"inset",
|
|
4949
|
+
"variant"
|
|
4950
|
+
]);
|
|
4951
|
+
return /* @__PURE__ */ jsx50(
|
|
4952
|
+
DropdownMenuPrimitive.Item,
|
|
4953
|
+
__spreadValues({
|
|
4954
|
+
"data-slot": "dropdown-menu-item",
|
|
4955
|
+
"data-inset": inset,
|
|
4956
|
+
"data-variant": variant,
|
|
4957
|
+
className: cn(
|
|
4958
|
+
"focus:bg-accent first:-mt-1 last:-mb-1 -mx-1 focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 px-2.5 py-3 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
4959
|
+
className
|
|
4960
|
+
)
|
|
4961
|
+
}, props)
|
|
4962
|
+
);
|
|
4963
|
+
}
|
|
4964
|
+
function DropdownMenuCheckboxItem(_a) {
|
|
4965
|
+
var _b = _a, {
|
|
4966
|
+
className,
|
|
4967
|
+
children,
|
|
4968
|
+
checked
|
|
4969
|
+
} = _b, props = __objRest(_b, [
|
|
4970
|
+
"className",
|
|
4971
|
+
"children",
|
|
4972
|
+
"checked"
|
|
4973
|
+
]);
|
|
4974
|
+
return /* @__PURE__ */ jsxs36(
|
|
4975
|
+
DropdownMenuPrimitive.CheckboxItem,
|
|
4976
|
+
__spreadProps(__spreadValues({
|
|
4977
|
+
"data-slot": "dropdown-menu-checkbox-item",
|
|
4978
|
+
className: cn(
|
|
4979
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
4980
|
+
className
|
|
4981
|
+
),
|
|
4982
|
+
checked
|
|
4983
|
+
}, props), {
|
|
4984
|
+
children: [
|
|
4985
|
+
/* @__PURE__ */ jsx50("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx50(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx50(CheckIcon, { className: "size-4" }) }) }),
|
|
4986
|
+
children
|
|
4987
|
+
]
|
|
4988
|
+
})
|
|
4989
|
+
);
|
|
4990
|
+
}
|
|
4991
|
+
function DropdownMenuRadioGroup(_a) {
|
|
4992
|
+
var props = __objRest(_a, []);
|
|
4993
|
+
return /* @__PURE__ */ jsx50(
|
|
4994
|
+
DropdownMenuPrimitive.RadioGroup,
|
|
4995
|
+
__spreadValues({
|
|
4996
|
+
"data-slot": "dropdown-menu-radio-group"
|
|
4997
|
+
}, props)
|
|
4998
|
+
);
|
|
4999
|
+
}
|
|
5000
|
+
function DropdownMenuRadioItem(_a) {
|
|
5001
|
+
var _b = _a, {
|
|
5002
|
+
className,
|
|
5003
|
+
children
|
|
5004
|
+
} = _b, props = __objRest(_b, [
|
|
5005
|
+
"className",
|
|
5006
|
+
"children"
|
|
5007
|
+
]);
|
|
5008
|
+
return /* @__PURE__ */ jsxs36(
|
|
5009
|
+
DropdownMenuPrimitive.RadioItem,
|
|
5010
|
+
__spreadProps(__spreadValues({
|
|
5011
|
+
"data-slot": "dropdown-menu-radio-item",
|
|
5012
|
+
className: cn(
|
|
5013
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
5014
|
+
className
|
|
5015
|
+
)
|
|
5016
|
+
}, props), {
|
|
5017
|
+
children: [
|
|
5018
|
+
/* @__PURE__ */ jsx50("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx50(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx50(CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
5019
|
+
children
|
|
5020
|
+
]
|
|
5021
|
+
})
|
|
5022
|
+
);
|
|
5023
|
+
}
|
|
5024
|
+
function DropdownMenuLabel(_a) {
|
|
5025
|
+
var _b = _a, {
|
|
5026
|
+
className,
|
|
5027
|
+
inset
|
|
5028
|
+
} = _b, props = __objRest(_b, [
|
|
5029
|
+
"className",
|
|
5030
|
+
"inset"
|
|
5031
|
+
]);
|
|
5032
|
+
return /* @__PURE__ */ jsx50(
|
|
5033
|
+
DropdownMenuPrimitive.Label,
|
|
5034
|
+
__spreadValues({
|
|
5035
|
+
"data-slot": "dropdown-menu-label",
|
|
5036
|
+
"data-inset": inset,
|
|
5037
|
+
className: cn(
|
|
5038
|
+
"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
5039
|
+
className
|
|
5040
|
+
)
|
|
5041
|
+
}, props)
|
|
5042
|
+
);
|
|
5043
|
+
}
|
|
5044
|
+
function DropdownMenuSeparator(_a) {
|
|
5045
|
+
var _b = _a, {
|
|
5046
|
+
className
|
|
5047
|
+
} = _b, props = __objRest(_b, [
|
|
5048
|
+
"className"
|
|
5049
|
+
]);
|
|
5050
|
+
return /* @__PURE__ */ jsx50(
|
|
5051
|
+
DropdownMenuPrimitive.Separator,
|
|
5052
|
+
__spreadValues({
|
|
5053
|
+
"data-slot": "dropdown-menu-separator",
|
|
5054
|
+
className: cn("bg-border -mx-1 my-1 h-px", className)
|
|
5055
|
+
}, props)
|
|
5056
|
+
);
|
|
5057
|
+
}
|
|
5058
|
+
function DropdownMenuShortcut(_a) {
|
|
5059
|
+
var _b = _a, {
|
|
5060
|
+
className
|
|
5061
|
+
} = _b, props = __objRest(_b, [
|
|
5062
|
+
"className"
|
|
5063
|
+
]);
|
|
5064
|
+
return /* @__PURE__ */ jsx50(
|
|
5065
|
+
"span",
|
|
5066
|
+
__spreadValues({
|
|
5067
|
+
"data-slot": "dropdown-menu-shortcut",
|
|
5068
|
+
className: cn(
|
|
5069
|
+
"text-muted-foreground ml-auto text-xs tracking-widest",
|
|
5070
|
+
className
|
|
5071
|
+
)
|
|
5072
|
+
}, props)
|
|
5073
|
+
);
|
|
5074
|
+
}
|
|
5075
|
+
function DropdownMenuSub(_a) {
|
|
5076
|
+
var props = __objRest(_a, []);
|
|
5077
|
+
return /* @__PURE__ */ jsx50(DropdownMenuPrimitive.Sub, __spreadValues({ "data-slot": "dropdown-menu-sub" }, props));
|
|
5078
|
+
}
|
|
5079
|
+
function DropdownMenuSubTrigger(_a) {
|
|
5080
|
+
var _b = _a, {
|
|
5081
|
+
className,
|
|
5082
|
+
inset,
|
|
5083
|
+
children
|
|
5084
|
+
} = _b, props = __objRest(_b, [
|
|
5085
|
+
"className",
|
|
5086
|
+
"inset",
|
|
5087
|
+
"children"
|
|
5088
|
+
]);
|
|
5089
|
+
return /* @__PURE__ */ jsxs36(
|
|
5090
|
+
DropdownMenuPrimitive.SubTrigger,
|
|
5091
|
+
__spreadProps(__spreadValues({
|
|
5092
|
+
"data-slot": "dropdown-menu-sub-trigger",
|
|
5093
|
+
"data-inset": inset,
|
|
5094
|
+
className: cn(
|
|
5095
|
+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
|
|
5096
|
+
className
|
|
5097
|
+
)
|
|
5098
|
+
}, props), {
|
|
5099
|
+
children: [
|
|
5100
|
+
children,
|
|
5101
|
+
/* @__PURE__ */ jsx50(ChevronRightIcon, { className: "ml-auto size-4" })
|
|
5102
|
+
]
|
|
5103
|
+
})
|
|
5104
|
+
);
|
|
5105
|
+
}
|
|
5106
|
+
function DropdownMenuSubContent(_a) {
|
|
5107
|
+
var _b = _a, {
|
|
5108
|
+
className
|
|
5109
|
+
} = _b, props = __objRest(_b, [
|
|
5110
|
+
"className"
|
|
5111
|
+
]);
|
|
5112
|
+
return /* @__PURE__ */ jsx50(
|
|
5113
|
+
DropdownMenuPrimitive.SubContent,
|
|
5114
|
+
__spreadValues({
|
|
5115
|
+
"data-slot": "dropdown-menu-sub-content",
|
|
5116
|
+
className: cn(
|
|
5117
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
5118
|
+
className
|
|
5119
|
+
)
|
|
5120
|
+
}, props)
|
|
5121
|
+
);
|
|
5122
|
+
}
|
|
5123
|
+
|
|
5124
|
+
// src/@/ui/badge.tsx
|
|
5125
|
+
import { Slot as Slot11 } from "@radix-ui/react-slot";
|
|
5126
|
+
import { cva as cva7 } from "class-variance-authority";
|
|
5127
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
5128
|
+
var badgeVariants = cva7(
|
|
5129
|
+
"inline-flex font-semibold whitespace-nowrap items-center justify-center rounded-full px-2 py-1 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
|
5130
|
+
{
|
|
5131
|
+
variants: {
|
|
5132
|
+
size: {
|
|
5133
|
+
sm: "text-caption-2"
|
|
5134
|
+
},
|
|
5135
|
+
variant: {
|
|
5136
|
+
success: "bg-brand-success-400/15 text-brand-success-400",
|
|
5137
|
+
default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
5138
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
5139
|
+
destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
5140
|
+
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
5141
|
+
}
|
|
5142
|
+
},
|
|
5143
|
+
defaultVariants: {
|
|
5144
|
+
variant: "default",
|
|
5145
|
+
size: "sm"
|
|
5146
|
+
}
|
|
5147
|
+
}
|
|
5148
|
+
);
|
|
5149
|
+
function Badge(_a) {
|
|
5150
|
+
var _b = _a, {
|
|
5151
|
+
className,
|
|
5152
|
+
variant,
|
|
5153
|
+
asChild = false
|
|
5154
|
+
} = _b, props = __objRest(_b, [
|
|
5155
|
+
"className",
|
|
5156
|
+
"variant",
|
|
5157
|
+
"asChild"
|
|
5158
|
+
]);
|
|
5159
|
+
const Comp = asChild ? Slot11 : "span";
|
|
5160
|
+
return /* @__PURE__ */ jsx51(
|
|
5161
|
+
Comp,
|
|
5162
|
+
__spreadValues({
|
|
5163
|
+
"data-slot": "badge",
|
|
5164
|
+
className: cn(badgeVariants({ variant }), className)
|
|
5165
|
+
}, props)
|
|
5166
|
+
);
|
|
5167
|
+
}
|
|
4894
5168
|
export {
|
|
4895
5169
|
AccessoryButton,
|
|
4896
5170
|
AccountItem,
|
|
@@ -4900,6 +5174,7 @@ export {
|
|
|
4900
5174
|
AssetList,
|
|
4901
5175
|
AssetListItem,
|
|
4902
5176
|
AssetValueTrend,
|
|
5177
|
+
Badge,
|
|
4903
5178
|
BadgeIcon,
|
|
4904
5179
|
Balance,
|
|
4905
5180
|
BridgeForm,
|
|
@@ -4921,6 +5196,21 @@ export {
|
|
|
4921
5196
|
DialogTrigger,
|
|
4922
5197
|
Drawer,
|
|
4923
5198
|
DrawerContent,
|
|
5199
|
+
DropdownMenu,
|
|
5200
|
+
DropdownMenuCheckboxItem,
|
|
5201
|
+
DropdownMenuContent,
|
|
5202
|
+
DropdownMenuGroup,
|
|
5203
|
+
DropdownMenuItem,
|
|
5204
|
+
DropdownMenuLabel,
|
|
5205
|
+
DropdownMenuPortal,
|
|
5206
|
+
DropdownMenuRadioGroup,
|
|
5207
|
+
DropdownMenuRadioItem,
|
|
5208
|
+
DropdownMenuSeparator,
|
|
5209
|
+
DropdownMenuShortcut,
|
|
5210
|
+
DropdownMenuSub,
|
|
5211
|
+
DropdownMenuSubContent,
|
|
5212
|
+
DropdownMenuSubTrigger,
|
|
5213
|
+
DropdownMenuTrigger,
|
|
4924
5214
|
EmptyState,
|
|
4925
5215
|
EmptyStateConceal,
|
|
4926
5216
|
EmptyStateContent,
|
|
@@ -5014,5 +5304,6 @@ export {
|
|
|
5014
5304
|
WalletManagerUIContent,
|
|
5015
5305
|
WalletManagerUIProvider,
|
|
5016
5306
|
WalletProviderItem,
|
|
5307
|
+
badgeVariants,
|
|
5017
5308
|
makeEntry
|
|
5018
5309
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperbridge/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@radix-ui/react-dialog": "^1.1.14",
|
|
41
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
41
42
|
"@radix-ui/react-popover": "^1.1.14",
|
|
42
43
|
"@radix-ui/react-progress": "^1.1.7",
|
|
43
44
|
"@radix-ui/react-scroll-area": "^1.2.9",
|
package/styles/shadcn.css
CHANGED
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
--foreground: oklch(0.145 0 0);
|
|
8
8
|
--card: oklch(1 0 0);
|
|
9
9
|
--card-foreground: oklch(0.145 0 0);
|
|
10
|
-
--popover:
|
|
11
|
-
--popover-foreground:
|
|
10
|
+
--popover: var(--color-brand-black-500);
|
|
11
|
+
--popover-foreground: var(--color-brand-white-400);
|
|
12
12
|
--primary: oklch(0.205 0 0);
|
|
13
13
|
--primary-foreground: oklch(0.985 0 0);
|
|
14
14
|
--secondary: oklch(0.97 0 0);
|
|
15
15
|
--secondary-foreground: oklch(0.205 0 0);
|
|
16
16
|
--muted: oklch(0.97 0 0);
|
|
17
17
|
--muted-foreground: oklch(0.556 0 0);
|
|
18
|
-
--accent:
|
|
19
|
-
--accent-foreground: oklch(0.
|
|
18
|
+
--accent: var(--color-brand-black-300);
|
|
19
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
20
20
|
--destructive: oklch(0.577 0.245 27.325);
|
|
21
21
|
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
22
22
|
--border: oklch(0.922 0 0);
|