@rhinestone/deposit-modal 0.3.0-alpha.3 → 0.3.0-alpha.5

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.
@@ -157,15 +157,40 @@ import {
157
157
  Info,
158
158
  Copy,
159
159
  ArrowRight,
160
+ ArrowUpRight,
160
161
  AlertTriangle,
161
162
  Percent,
162
163
  Clock,
163
164
  CirclePlus,
164
165
  CircleArrowOutUpLeft
165
166
  } from "lucide-react";
167
+ import { jsx as jsx2 } from "react/jsx-runtime";
166
168
  var WalletIcon = Wallet;
167
169
  var ExternalLinkIcon = ExternalLink;
168
170
  var CheckIcon = Check;
171
+ function TransferCryptoIcon() {
172
+ return /* @__PURE__ */ jsx2(
173
+ "svg",
174
+ {
175
+ width: "24",
176
+ height: "24",
177
+ viewBox: "0 6 24 24",
178
+ fill: "none",
179
+ xmlns: "http://www.w3.org/2000/svg",
180
+ "aria-hidden": "true",
181
+ children: /* @__PURE__ */ jsx2(
182
+ "path",
183
+ {
184
+ d: "M18.0898 16.3701C19.0352 16.7225 19.8763 17.3076 20.5356 18.0713C21.1949 18.835 21.6509 19.7526 21.8616 20.7392C22.0723 21.7258 22.0307 22.7496 21.7409 23.716C21.451 24.6823 20.9222 25.5599 20.2033 26.2677C19.4844 26.9755 18.5986 27.4906 17.6278 27.7653C16.6571 28.0401 15.6327 28.0656 14.6495 27.8396C13.6663 27.6135 12.756 27.1432 12.0027 26.4721C11.2494 25.801 10.6775 24.9508 10.3398 24.0001M7 12H8V16M16.7098 19.8799L17.4098 20.5899L14.5898 23.4099M14 14C14 17.3137 11.3137 20 8 20C4.68629 20 2 17.3137 2 14C2 10.6863 4.68629 8 8 8C11.3137 8 14 10.6863 14 14Z",
185
+ stroke: "currentColor",
186
+ strokeWidth: "2",
187
+ strokeLinecap: "round",
188
+ strokeLinejoin: "round"
189
+ }
190
+ )
191
+ }
192
+ );
193
+ }
169
194
  var ChevronRightIcon = ChevronRight;
170
195
  var ChevronLeftIcon = ChevronLeft;
171
196
  var ChevronDownIcon = ChevronDown;
@@ -175,7 +200,7 @@ var CoinsIcon = Coins;
175
200
  var HistoryIcon = History;
176
201
  var InfoIcon = Info;
177
202
  var CopyIcon = Copy;
178
- var ArrowRightIcon = ArrowRight;
203
+ var ArrowUpRightIcon = ArrowUpRight;
179
204
  var AlertTriangleIcon = AlertTriangle;
180
205
  var PercentIcon = Percent;
181
206
  var ClockIcon = Clock;
@@ -1134,7 +1159,7 @@ function applyTheme(element, theme) {
1134
1159
  }
1135
1160
 
1136
1161
  // src/components/ui/BodyHeader.tsx
1137
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
1162
+ import { jsx as jsx3, jsxs } from "react/jsx-runtime";
1138
1163
  function BodyHeader({
1139
1164
  icon,
1140
1165
  title,
@@ -1147,17 +1172,17 @@ function BodyHeader({
1147
1172
  variant === "error" ? "rs-body-header-icon--error" : ""
1148
1173
  ].filter(Boolean).join(" ");
1149
1174
  return /* @__PURE__ */ jsxs("div", { className: "rs-body-header", children: [
1150
- /* @__PURE__ */ jsx2("div", { className: iconClasses, children: icon }),
1175
+ /* @__PURE__ */ jsx3("div", { className: iconClasses, children: icon }),
1151
1176
  /* @__PURE__ */ jsxs("div", { className: "rs-body-header-text", children: [
1152
- /* @__PURE__ */ jsx2("h2", { className: "rs-body-header-title", children: title }),
1153
- subtitle && /* @__PURE__ */ jsx2("p", { className: "rs-body-header-subtitle", children: subtitle })
1177
+ /* @__PURE__ */ jsx3("h2", { className: "rs-body-header-title", children: title }),
1178
+ subtitle && /* @__PURE__ */ jsx3("p", { className: "rs-body-header-subtitle", children: subtitle })
1154
1179
  ] })
1155
1180
  ] });
1156
1181
  }
1157
1182
  BodyHeader.displayName = "BodyHeader";
1158
1183
 
1159
1184
  // src/components/ui/PoweredBy.tsx
1160
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
1185
+ import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
1161
1186
  var rhinestoneLogo = /* @__PURE__ */ jsxs2(
1162
1187
  "svg",
1163
1188
  {
@@ -1168,7 +1193,7 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs2(
1168
1193
  "aria-hidden": "true",
1169
1194
  children: [
1170
1195
  /* @__PURE__ */ jsxs2("g", { fill: "currentColor", clipPath: "url(#rs-pb-clip)", children: [
1171
- /* @__PURE__ */ jsx3(
1196
+ /* @__PURE__ */ jsx4(
1172
1197
  "path",
1173
1198
  {
1174
1199
  opacity: "0.5",
@@ -1177,8 +1202,8 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs2(
1177
1202
  d: "M10.48 14.82a4.3 4.3 0 0 1-2.9 1 4.3 4.3 0 0 1-2.4-1 25 25 0 0 1-2.08-1.95l-.13-.13c-.78-.78-1.46-1.46-1.94-2.08a4.3 4.3 0 0 1-1-2.9c.05-.96.48-1.72 1-2.4a25 25 0 0 1 1.94-2.08l.07-.06.06-.07a25 25 0 0 1 2.08-1.94 4.3 4.3 0 0 1 2.9-1c.96.05 1.73.48 2.4 1 .62.49 1.3 1.17 2.08 1.94l.13.13c.77.78 1.46 1.46 1.94 2.09a4.3 4.3 0 0 1 1 2.9 4.3 4.3 0 0 1-1 2.39c-.48.62-1.17 1.3-1.94 2.08l-.07.07-.06.06c-.78.78-1.46 1.46-2.08 1.94m-8.9-6.63c.07 1.02.9 1.86 2.56 3.52s2.5 2.5 3.53 2.56h.32c1.03-.06 1.86-.9 3.53-2.56s2.5-2.5 2.56-3.52v-.33c-.07-1.03-.9-1.86-2.56-3.52-1.67-1.67-2.5-2.5-3.53-2.56h-.32c-1.03.06-1.86.89-3.53 2.56-1.66 1.66-2.5 2.5-2.56 3.52z"
1178
1203
  }
1179
1204
  ),
1180
- /* @__PURE__ */ jsx3("path", { d: "M3.66 8.01q.02-.27.28-.35a4.6 4.6 0 0 0 2.53-1.48q.72-.8 1-2.05a.4.4 0 0 1 .36-.29c.17 0 .32.12.36.29a4.6 4.6 0 0 0 1.47 2.52c.55.49 1.21.8 2.06 1a.4.4 0 0 1 .28.36.4.4 0 0 1-.28.36 4.6 4.6 0 0 0-2.53 1.47 4.6 4.6 0 0 0-1 2.06.4.4 0 0 1-.36.28.4.4 0 0 1-.36-.28A4.6 4.6 0 0 0 6 9.38a4.6 4.6 0 0 0-2.06-1.01.4.4 0 0 1-.28-.36m26.46-3.44c0 .51.38.87.96.87s.95-.36.95-.87c0-.52-.37-.86-.95-.86s-.96.34-.96.86m.2 1.44v5.33h1.53V6.01zm-4.4 5.33h-1.55V3.88h1.54v2.98c.25-.5.8-1.01 1.6-1.01 1.29 0 1.87.83 1.87 2.28v3.21h-1.54V8.3c0-.77-.34-1.16-.92-1.16-.67 0-1 .53-1 1.3zm-4.45 0h-1.54V6.01h1.54l-.27 1.22a.1.1 0 0 0 .02.1.1.1 0 0 0 .1.04q.09 0 .1-.09c.24-.84.93-1.36 1.64-1.36q.4.01.57.05v1.42l-.67-.04c-.67 0-1.5.31-1.5 2zm13 0h-1.55V6.01h1.54l-.02.9a1.8 1.8 0 0 1 1.61-1.06c1.3 0 1.88.83 1.88 2.28v3.21H36.4V8.3c0-.77-.35-1.16-.93-1.16-.67 0-1 .53-1 1.3z" }),
1181
- /* @__PURE__ */ jsx3(
1205
+ /* @__PURE__ */ jsx4("path", { d: "M3.66 8.01q.02-.27.28-.35a4.6 4.6 0 0 0 2.53-1.48q.72-.8 1-2.05a.4.4 0 0 1 .36-.29c.17 0 .32.12.36.29a4.6 4.6 0 0 0 1.47 2.52c.55.49 1.21.8 2.06 1a.4.4 0 0 1 .28.36.4.4 0 0 1-.28.36 4.6 4.6 0 0 0-2.53 1.47 4.6 4.6 0 0 0-1 2.06.4.4 0 0 1-.36.28.4.4 0 0 1-.36-.28A4.6 4.6 0 0 0 6 9.38a4.6 4.6 0 0 0-2.06-1.01.4.4 0 0 1-.28-.36m26.46-3.44c0 .51.38.87.96.87s.95-.36.95-.87c0-.52-.37-.86-.95-.86s-.96.34-.96.86m.2 1.44v5.33h1.53V6.01zm-4.4 5.33h-1.55V3.88h1.54v2.98c.25-.5.8-1.01 1.6-1.01 1.29 0 1.87.83 1.87 2.28v3.21h-1.54V8.3c0-.77-.34-1.16-.92-1.16-.67 0-1 .53-1 1.3zm-4.45 0h-1.54V6.01h1.54l-.27 1.22a.1.1 0 0 0 .02.1.1.1 0 0 0 .1.04q.09 0 .1-.09c.24-.84.93-1.36 1.64-1.36q.4.01.57.05v1.42l-.67-.04c-.67 0-1.5.31-1.5 2zm13 0h-1.55V6.01h1.54l-.02.9a1.8 1.8 0 0 1 1.61-1.06c1.3 0 1.88.83 1.88 2.28v3.21H36.4V8.3c0-.77-.35-1.16-.93-1.16-.67 0-1 .53-1 1.3z" }),
1206
+ /* @__PURE__ */ jsx4(
1182
1207
  "path",
1183
1208
  {
1184
1209
  fillRule: "evenodd",
@@ -1186,8 +1211,8 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs2(
1186
1211
  d: "M38.74 8.69c0 1.63 1.01 2.82 2.7 2.82 1.51 0 2.32-.82 2.55-1.73l-1.43-.26c-.1.37-.47.82-1.12.82-.67 0-1.23-.6-1.24-1.31H44q.05-.19.06-.56a2.55 2.55 0 0 0-2.6-2.63c-1.5 0-2.72 1.2-2.72 2.85m3.82-.58h-2.3a1.2 1.2 0 0 1 1.18-1.13c.6 0 1.14.45 1.12 1.13"
1187
1212
  }
1188
1213
  ),
1189
- /* @__PURE__ */ jsx3("path", { d: "M47.1 11.51c-1.2 0-2.33-.41-2.55-1.65l1.43-.21q.27.8 1.1.79c.5 0 .77-.24.77-.55 0-.27-.2-.45-.75-.55l-.5-.1c-1.1-.24-1.77-.74-1.77-1.63 0-1.06.91-1.78 2.25-1.78 1.26 0 2.2.59 2.32 1.68l-1.41.22c-.07-.52-.43-.82-.91-.82-.5 0-.75.26-.75.57 0 .25.17.42.63.51l.5.1c1.28.26 1.94.77 1.94 1.75 0 1.01-1.03 1.66-2.3 1.66" }),
1190
- /* @__PURE__ */ jsx3(
1214
+ /* @__PURE__ */ jsx4("path", { d: "M47.1 11.51c-1.2 0-2.33-.41-2.55-1.65l1.43-.21q.27.8 1.1.79c.5 0 .77-.24.77-.55 0-.27-.2-.45-.75-.55l-.5-.1c-1.1-.24-1.77-.74-1.77-1.63 0-1.06.91-1.78 2.25-1.78 1.26 0 2.2.59 2.32 1.68l-1.41.22c-.07-.52-.43-.82-.91-.82-.5 0-.75.26-.75.57 0 .25.17.42.63.51l.5.1c1.28.26 1.94.77 1.94 1.75 0 1.01-1.03 1.66-2.3 1.66" }),
1215
+ /* @__PURE__ */ jsx4(
1191
1216
  "path",
1192
1217
  {
1193
1218
  fillRule: "evenodd",
@@ -1195,8 +1220,8 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs2(
1195
1220
  d: "M54.44 8.68c0 1.53 1.08 2.83 2.78 2.83s2.79-1.3 2.79-2.83c0-1.55-1.1-2.84-2.79-2.84-1.7 0-2.78 1.29-2.78 2.84m4.02 0c0 .98-.59 1.45-1.24 1.45-.64 0-1.23-.47-1.23-1.45 0-.97.59-1.47 1.23-1.47.65 0 1.24.48 1.24 1.47"
1196
1221
  }
1197
1222
  ),
1198
- /* @__PURE__ */ jsx3("path", { d: "M62.4 11.34h-1.53V6.01h1.54l-.02.9a1.8 1.8 0 0 1 1.6-1.06c1.3 0 1.89.83 1.89 2.28v3.21h-1.54V8.3c0-.77-.34-1.16-.93-1.16-.66 0-1 .53-1 1.3z" }),
1199
- /* @__PURE__ */ jsx3(
1223
+ /* @__PURE__ */ jsx4("path", { d: "M62.4 11.34h-1.53V6.01h1.54l-.02.9a1.8 1.8 0 0 1 1.6-1.06c1.3 0 1.89.83 1.89 2.28v3.21h-1.54V8.3c0-.77-.34-1.16-.93-1.16-.66 0-1 .53-1 1.3z" }),
1224
+ /* @__PURE__ */ jsx4(
1200
1225
  "path",
1201
1226
  {
1202
1227
  fillRule: "evenodd",
@@ -1204,16 +1229,16 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs2(
1204
1229
  d: "M66.68 8.69c0 1.63 1.02 2.82 2.71 2.82 1.51 0 2.31-.82 2.55-1.73l-1.44-.26c-.1.37-.47.82-1.12.82-.67 0-1.23-.6-1.24-1.31h3.8q.06-.19.06-.56a2.55 2.55 0 0 0-2.6-2.63c-1.5 0-2.72 1.2-2.72 2.85m3.82-.58h-2.3a1.2 1.2 0 0 1 1.18-1.13c.6 0 1.15.45 1.12 1.13"
1205
1230
  }
1206
1231
  ),
1207
- /* @__PURE__ */ jsx3("path", { d: "M52.44 9.05V7.26h1.53V6h-1.53V4.42h-1.53V6h-1.1v1.26h1.1v1.85l.02.49a1.9 1.9 0 0 0 1.67 1.67c.22.03.47.03.62.03h.65V9.87h-.61c-.4 0-.59 0-.7-.12-.12-.11-.12-.3-.12-.64z" })
1232
+ /* @__PURE__ */ jsx4("path", { d: "M52.44 9.05V7.26h1.53V6h-1.53V4.42h-1.53V6h-1.1v1.26h1.1v1.85l.02.49a1.9 1.9 0 0 0 1.67 1.67c.22.03.47.03.62.03h.65V9.87h-.61c-.4 0-.59 0-.7-.12-.12-.11-.12-.3-.12-.64z" })
1208
1233
  ] }),
1209
- /* @__PURE__ */ jsx3("defs", { children: /* @__PURE__ */ jsx3("clipPath", { id: "rs-pb-clip", children: /* @__PURE__ */ jsx3("path", { fill: "#fff", d: "M0 0h72v16H0z" }) }) })
1234
+ /* @__PURE__ */ jsx4("defs", { children: /* @__PURE__ */ jsx4("clipPath", { id: "rs-pb-clip", children: /* @__PURE__ */ jsx4("path", { fill: "#fff", d: "M0 0h72v16H0z" }) }) })
1210
1235
  ]
1211
1236
  }
1212
1237
  );
1213
1238
  function PoweredBy() {
1214
1239
  return /* @__PURE__ */ jsxs2("div", { className: "rs-powered-by", "aria-label": "Powered by Rhinestone", children: [
1215
- /* @__PURE__ */ jsx3("span", { children: "Powered by" }),
1216
- /* @__PURE__ */ jsx3(
1240
+ /* @__PURE__ */ jsx4("span", { children: "Powered by" }),
1241
+ /* @__PURE__ */ jsx4(
1217
1242
  "a",
1218
1243
  {
1219
1244
  className: "rs-powered-by-link",
@@ -1228,7 +1253,7 @@ function PoweredBy() {
1228
1253
  PoweredBy.displayName = "PoweredBy";
1229
1254
 
1230
1255
  // src/components/ui/Spinner.tsx
1231
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
1256
+ import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
1232
1257
  function Spinner({ className }) {
1233
1258
  return /* @__PURE__ */ jsxs3(
1234
1259
  "svg",
@@ -1237,7 +1262,7 @@ function Spinner({ className }) {
1237
1262
  fill: "none",
1238
1263
  viewBox: "0 0 20 21",
1239
1264
  children: [
1240
- /* @__PURE__ */ jsx4(
1265
+ /* @__PURE__ */ jsx5(
1241
1266
  "path",
1242
1267
  {
1243
1268
  d: "M10 0.5C8.02219 0.5 6.08879 1.08649 4.4443 2.1853C2.79981 3.28412 1.51809 4.8459 0.761209 6.67316C0.00433288 8.50043 -0.1937 10.5111 0.192152 12.4509C0.578004 14.3907 1.53041 16.1725 2.92894 17.5711C4.32746 18.9696 6.10929 19.922 8.0491 20.3078C9.98891 20.6937 11.9996 20.4957 13.8268 19.7388C15.6541 18.9819 17.2159 17.7002 18.3147 16.0557C19.4135 14.4112 20 12.4778 20 10.5C20 7.84783 18.9464 5.3043 17.0711 3.42893C15.1957 1.55357 12.6522 0.5 10 0.5ZM10 17.7727C8.56159 17.7727 7.15549 17.3462 5.95949 16.547C4.7635 15.7479 3.83134 14.6121 3.28088 13.2831C2.73042 11.9542 2.5864 10.4919 2.86702 9.08116C3.14764 7.67039 3.8403 6.37451 4.85741 5.3574C5.87452 4.3403 7.17039 3.64764 8.58116 3.36702C9.99193 3.0864 11.4542 3.23042 12.7832 3.78088C14.1121 4.33133 15.2479 5.26349 16.0471 6.45949C16.8462 7.65548 17.2727 9.06159 17.2727 10.5C17.2727 12.4288 16.5065 14.2787 15.1426 15.6426C13.7787 17.0065 11.9288 17.7727 10 17.7727Z",
@@ -1245,7 +1270,7 @@ function Spinner({ className }) {
1245
1270
  opacity: 0.3
1246
1271
  }
1247
1272
  ),
1248
- /* @__PURE__ */ jsx4(
1273
+ /* @__PURE__ */ jsx5(
1249
1274
  "path",
1250
1275
  {
1251
1276
  d: "M10 3.22767C11.7423 3.22846 13.4276 3.8412 14.7556 4.95667C16.0837 6.07214 16.9681 7.61784 17.2512 9.31825C17.3012 9.64364 17.4662 9.94096 17.7169 10.1573C17.9677 10.3737 18.2878 10.4951 18.6205 10.5C18.8211 10.5001 19.0193 10.457 19.2012 10.3735C19.3832 10.2901 19.5445 10.1684 19.674 10.017C19.8036 9.86549 19.8981 9.68789 19.9511 9.49656C20.004 9.30523 20.0141 9.10478 19.9807 8.90918C19.5986 6.56305 18.3843 4.42821 16.5554 2.88726C14.7265 1.34631 12.4025 0.5 10 0.5C7.59751 0.5 5.27354 1.34631 3.44461 2.88726C1.61569 4.42821 0.401366 6.56305 0.0192815 8.90918C-0.0141442 9.10478 -0.00402016 9.30523 0.0489472 9.49656C0.101914 9.68789 0.196449 9.86549 0.325956 10.017C0.455463 10.1684 0.616823 10.2901 0.798778 10.3735C0.980732 10.457 1.1789 10.5001 1.37945 10.5C1.71216 10.4951 2.03235 10.3737 2.28307 10.1573C2.5338 9.94096 2.69883 9.64364 2.74882 9.31825C3.03193 7.61784 3.91633 6.07214 5.24436 4.95667C6.57239 3.8412 8.25775 3.22846 10 3.22767Z",
@@ -1258,7 +1283,7 @@ function Spinner({ className }) {
1258
1283
  }
1259
1284
 
1260
1285
  // src/components/ui/ListRow.tsx
1261
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
1286
+ import { Fragment, jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
1262
1287
  function ListRow({
1263
1288
  leading,
1264
1289
  leadingMedia,
@@ -1266,36 +1291,75 @@ function ListRow({
1266
1291
  subtitle,
1267
1292
  meta,
1268
1293
  trailing,
1294
+ action,
1269
1295
  className = "",
1296
+ onClick,
1297
+ disabled,
1270
1298
  ...props
1271
1299
  }) {
1272
- return /* @__PURE__ */ jsxs4(
1300
+ const inner = /* @__PURE__ */ jsxs4(Fragment, { children: [
1301
+ leadingMedia ? /* @__PURE__ */ jsx6("span", { className: "rs-list-row-leading rs-list-row-leading--media", children: /* @__PURE__ */ jsx6("img", { src: leadingMedia, alt: "" }) }) : leading ? /* @__PURE__ */ jsx6("span", { className: "rs-list-row-leading", children: leading }) : null,
1302
+ /* @__PURE__ */ jsxs4("div", { className: "rs-list-row-body", children: [
1303
+ /* @__PURE__ */ jsxs4("div", { className: "rs-list-row-text", children: [
1304
+ /* @__PURE__ */ jsx6("span", { className: "rs-list-row-title", children: title }),
1305
+ subtitle && /* @__PURE__ */ jsx6("span", { className: "rs-list-row-subtitle", children: subtitle })
1306
+ ] }),
1307
+ action ? /* @__PURE__ */ jsx6(
1308
+ "button",
1309
+ {
1310
+ type: "button",
1311
+ className: "rs-list-row-action",
1312
+ disabled,
1313
+ onClick: (e) => {
1314
+ e.stopPropagation();
1315
+ action.onClick();
1316
+ },
1317
+ children: action.label
1318
+ }
1319
+ ) : meta && /* @__PURE__ */ jsx6("div", { className: "rs-list-row-meta", children: meta })
1320
+ ] }),
1321
+ /* @__PURE__ */ jsx6("span", { className: "rs-list-row-chevron", children: trailing ?? /* @__PURE__ */ jsx6(ChevronRightIcon, {}) })
1322
+ ] });
1323
+ if (action) {
1324
+ const handleKey = (e) => {
1325
+ if (disabled) return;
1326
+ if (e.key === "Enter" || e.key === " ") {
1327
+ e.preventDefault();
1328
+ onClick?.(e);
1329
+ }
1330
+ };
1331
+ return /* @__PURE__ */ jsx6(
1332
+ "div",
1333
+ {
1334
+ className: `rs-list-row ${className}`.trim(),
1335
+ role: "button",
1336
+ tabIndex: disabled ? -1 : 0,
1337
+ "aria-disabled": disabled || void 0,
1338
+ onClick: disabled ? void 0 : (e) => onClick?.(e),
1339
+ onKeyDown: handleKey,
1340
+ children: inner
1341
+ }
1342
+ );
1343
+ }
1344
+ return /* @__PURE__ */ jsx6(
1273
1345
  "button",
1274
1346
  {
1275
1347
  type: "button",
1276
1348
  className: `rs-list-row ${className}`.trim(),
1349
+ onClick,
1350
+ disabled,
1277
1351
  ...props,
1278
- children: [
1279
- leadingMedia ? /* @__PURE__ */ jsx5("span", { className: "rs-list-row-leading rs-list-row-leading--media", children: /* @__PURE__ */ jsx5("img", { src: leadingMedia, alt: "" }) }) : leading ? /* @__PURE__ */ jsx5("span", { className: "rs-list-row-leading", children: leading }) : null,
1280
- /* @__PURE__ */ jsxs4("div", { className: "rs-list-row-body", children: [
1281
- /* @__PURE__ */ jsxs4("div", { className: "rs-list-row-text", children: [
1282
- /* @__PURE__ */ jsx5("span", { className: "rs-list-row-title", children: title }),
1283
- subtitle && /* @__PURE__ */ jsx5("span", { className: "rs-list-row-subtitle", children: subtitle })
1284
- ] }),
1285
- meta && /* @__PURE__ */ jsx5("div", { className: "rs-list-row-meta", children: meta })
1286
- ] }),
1287
- /* @__PURE__ */ jsx5("span", { className: "rs-list-row-chevron", children: trailing ?? /* @__PURE__ */ jsx5(ChevronRightIcon, {}) })
1288
- ]
1352
+ children: inner
1289
1353
  }
1290
1354
  );
1291
1355
  }
1292
1356
  ListRow.displayName = "ListRow";
1293
1357
 
1294
1358
  // src/components/ui/WalletBadgeIcons.tsx
1295
- import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
1359
+ import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
1296
1360
  var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1297
1361
  /* @__PURE__ */ jsxs5("g", { clipPath: "url(#rs-rabby-clip)", children: [
1298
- /* @__PURE__ */ jsx6(
1362
+ /* @__PURE__ */ jsx7(
1299
1363
  "mask",
1300
1364
  {
1301
1365
  id: "rs-rabby-mask",
@@ -1305,7 +1369,7 @@ var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20",
1305
1369
  y: "0",
1306
1370
  width: "20",
1307
1371
  height: "20",
1308
- children: /* @__PURE__ */ jsx6(
1372
+ children: /* @__PURE__ */ jsx7(
1309
1373
  "path",
1310
1374
  {
1311
1375
  d: "M20 10C20 4.47688 15.5231 0 10 0C4.47688 0 0 4.47688 0 10C0 15.5231 4.47688 20 10 20C15.5231 20 20 15.5231 20 10Z",
@@ -1315,21 +1379,21 @@ var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20",
1315
1379
  }
1316
1380
  ),
1317
1381
  /* @__PURE__ */ jsxs5("g", { mask: "url(#rs-rabby-mask)", children: [
1318
- /* @__PURE__ */ jsx6(
1382
+ /* @__PURE__ */ jsx7(
1319
1383
  "path",
1320
1384
  {
1321
1385
  d: "M20 10C20 4.47688 15.5231 0 10 0C4.47688 0 0 4.47688 0 10C0 15.5231 4.47688 20 10 20C15.5231 20 20 15.5231 20 10Z",
1322
1386
  fill: "#7084FF"
1323
1387
  }
1324
1388
  ),
1325
- /* @__PURE__ */ jsx6(
1389
+ /* @__PURE__ */ jsx7(
1326
1390
  "path",
1327
1391
  {
1328
1392
  d: "M17.2515 10.8675C17.8265 9.57871 14.9847 5.97871 12.2697 4.47934C10.5584 3.31684 8.77529 3.47684 8.41404 3.98684C7.62154 5.10684 11.039 6.05559 13.3234 7.16184C12.8322 7.37621 12.3697 7.76059 12.0972 8.25184C11.2453 7.31871 9.37529 6.51434 7.18154 7.16246C5.70279 7.59871 4.47404 8.62684 3.99904 10.18C3.85708 10.1175 3.70178 10.0914 3.5472 10.1041C3.39262 10.1168 3.24365 10.1678 3.11376 10.2526C2.98388 10.3373 2.87719 10.4532 2.80336 10.5896C2.72952 10.726 2.69088 10.8786 2.69092 11.0337C2.69092 11.55 3.10717 11.9681 3.62154 11.9681C3.71654 11.9681 4.01467 11.9037 4.01467 11.9037L8.77529 11.9387C6.87154 14.9687 5.36654 15.4118 5.36654 15.9368C5.36654 16.4618 6.80654 16.32 7.34717 16.1243C9.93467 15.1868 12.714 12.2675 13.1909 11.4268C15.1934 11.6775 16.8765 11.7075 17.2515 10.8675Z",
1329
1393
  fill: "url(#rs-rabby-grad0)"
1330
1394
  }
1331
1395
  ),
1332
- /* @__PURE__ */ jsx6(
1396
+ /* @__PURE__ */ jsx7(
1333
1397
  "path",
1334
1398
  {
1335
1399
  fillRule: "evenodd",
@@ -1338,7 +1402,7 @@ var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20",
1338
1402
  fill: "url(#rs-rabby-grad1)"
1339
1403
  }
1340
1404
  ),
1341
- /* @__PURE__ */ jsx6(
1405
+ /* @__PURE__ */ jsx7(
1342
1406
  "path",
1343
1407
  {
1344
1408
  fillRule: "evenodd",
@@ -1347,7 +1411,7 @@ var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20",
1347
1411
  fill: "url(#rs-rabby-grad2)"
1348
1412
  }
1349
1413
  ),
1350
- /* @__PURE__ */ jsx6(
1414
+ /* @__PURE__ */ jsx7(
1351
1415
  "path",
1352
1416
  {
1353
1417
  d: "M3.94351 11.7048C4.11789 13.1936 4.96101 13.7773 6.68476 13.9498C8.40851 14.1223 9.39664 14.0067 10.7123 14.1273C11.8116 14.2273 12.7929 14.7898 13.1573 14.5954C13.4848 14.4204 13.301 13.7892 12.8629 13.3836C12.2941 12.8586 11.5079 12.4936 10.1241 12.3642C10.3998 11.6061 10.3223 10.5436 9.89414 9.96543C9.27476 9.1298 8.13164 8.7523 6.68476 8.9173C5.17226 9.0898 3.72414 9.83605 3.94351 11.7048Z",
@@ -1367,8 +1431,8 @@ var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20",
1367
1431
  y2: "12.5875",
1368
1432
  gradientUnits: "userSpaceOnUse",
1369
1433
  children: [
1370
- /* @__PURE__ */ jsx6("stop", { stopColor: "white" }),
1371
- /* @__PURE__ */ jsx6("stop", { offset: "1", stopColor: "white" })
1434
+ /* @__PURE__ */ jsx7("stop", { stopColor: "white" }),
1435
+ /* @__PURE__ */ jsx7("stop", { offset: "1", stopColor: "white" })
1372
1436
  ]
1373
1437
  }
1374
1438
  ),
@@ -1382,8 +1446,8 @@ var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20",
1382
1446
  y2: "2.21365",
1383
1447
  gradientUnits: "userSpaceOnUse",
1384
1448
  children: [
1385
- /* @__PURE__ */ jsx6("stop", { stopColor: "#8697FF" }),
1386
- /* @__PURE__ */ jsx6("stop", { offset: "1", stopColor: "#8697FF", stopOpacity: "0" })
1449
+ /* @__PURE__ */ jsx7("stop", { stopColor: "#8697FF" }),
1450
+ /* @__PURE__ */ jsx7("stop", { offset: "1", stopColor: "#8697FF", stopOpacity: "0" })
1387
1451
  ]
1388
1452
  }
1389
1453
  ),
@@ -1397,8 +1461,8 @@ var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20",
1397
1461
  y2: "9.61626",
1398
1462
  gradientUnits: "userSpaceOnUse",
1399
1463
  children: [
1400
- /* @__PURE__ */ jsx6("stop", { stopColor: "#8697FF" }),
1401
- /* @__PURE__ */ jsx6("stop", { offset: "1", stopColor: "#8697FF", stopOpacity: "0" })
1464
+ /* @__PURE__ */ jsx7("stop", { stopColor: "#8697FF" }),
1465
+ /* @__PURE__ */ jsx7("stop", { offset: "1", stopColor: "#8697FF", stopOpacity: "0" })
1402
1466
  ]
1403
1467
  }
1404
1468
  ),
@@ -1412,23 +1476,23 @@ var RabbyIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20",
1412
1476
  y2: "15.6773",
1413
1477
  gradientUnits: "userSpaceOnUse",
1414
1478
  children: [
1415
- /* @__PURE__ */ jsx6("stop", { stopColor: "white" }),
1416
- /* @__PURE__ */ jsx6("stop", { offset: "0.984", stopColor: "#D1D8FF" })
1479
+ /* @__PURE__ */ jsx7("stop", { stopColor: "white" }),
1480
+ /* @__PURE__ */ jsx7("stop", { offset: "0.984", stopColor: "#D1D8FF" })
1417
1481
  ]
1418
1482
  }
1419
1483
  ),
1420
- /* @__PURE__ */ jsx6("clipPath", { id: "rs-rabby-clip", children: /* @__PURE__ */ jsx6("rect", { width: "20", height: "20", fill: "white" }) })
1484
+ /* @__PURE__ */ jsx7("clipPath", { id: "rs-rabby-clip", children: /* @__PURE__ */ jsx7("rect", { width: "20", height: "20", fill: "white" }) })
1421
1485
  ] })
1422
1486
  ] });
1423
1487
  var PhantomIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1424
- /* @__PURE__ */ jsx6(
1488
+ /* @__PURE__ */ jsx7(
1425
1489
  "path",
1426
1490
  {
1427
1491
  d: "M15.1852 0H4.81481C2.15567 0 0 2.15567 0 4.81481V15.1852C0 17.8443 2.15567 20 4.81481 20H15.1852C17.8443 20 20 17.8443 20 15.1852V4.81481C20 2.15567 17.8443 0 15.1852 0Z",
1428
1492
  fill: "#AB9FF2"
1429
1493
  }
1430
1494
  ),
1431
- /* @__PURE__ */ jsx6(
1495
+ /* @__PURE__ */ jsx7(
1432
1496
  "path",
1433
1497
  {
1434
1498
  fillRule: "evenodd",
@@ -1439,8 +1503,8 @@ var PhantomIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20"
1439
1503
  )
1440
1504
  ] });
1441
1505
  var WalletConnectIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1442
- /* @__PURE__ */ jsx6("rect", { width: "20", height: "20", rx: "2.5", fill: "#3B99FC" }),
1443
- /* @__PURE__ */ jsx6(
1506
+ /* @__PURE__ */ jsx7("rect", { width: "20", height: "20", rx: "2.5", fill: "#3B99FC" }),
1507
+ /* @__PURE__ */ jsx7(
1444
1508
  "path",
1445
1509
  {
1446
1510
  d: "M6.18 7.96a5.36 5.36 0 0 1 7.64 0l.25.26a.26.26 0 0 1 0 .37l-.87.87a.13.13 0 0 1-.19 0l-.35-.35a3.74 3.74 0 0 0-5.32 0l-.38.37a.13.13 0 0 1-.19 0l-.86-.86a.26.26 0 0 1 0-.37l.27-.29Zm9.43 1.79.78.78a.26.26 0 0 1 0 .37l-3.54 3.54a.26.26 0 0 1-.37 0l-2.51-2.5a.07.07 0 0 0-.09 0l-2.51 2.5a.26.26 0 0 1-.37 0L3.46 10.9a.26.26 0 0 1 0-.37l.78-.78a.26.26 0 0 1 .37 0l2.5 2.5a.07.07 0 0 0 .1 0L9.72 9.75a.26.26 0 0 1 .37 0l2.5 2.5a.07.07 0 0 0 .1 0l2.5-2.5a.26.26 0 0 1 .37 0Z",
@@ -1449,23 +1513,23 @@ var WalletConnectIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height
1449
1513
  )
1450
1514
  ] });
1451
1515
  var EthBadgeIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1452
- /* @__PURE__ */ jsx6(
1516
+ /* @__PURE__ */ jsx7(
1453
1517
  "path",
1454
1518
  {
1455
1519
  d: "M9.99987 19.9319C15.4852 19.9319 19.9319 15.4852 19.9319 9.9999C19.9319 4.51461 15.4852 0.0679016 9.99987 0.0679016C4.51458 0.0679016 0.0678711 4.51461 0.0678711 9.9999C0.0678711 15.4852 4.51458 19.9319 9.99987 19.9319Z",
1456
1520
  fill: "#E3E3E3"
1457
1521
  }
1458
1522
  ),
1459
- /* @__PURE__ */ jsx6("path", { d: "M10.0073 2.18121L14.6948 9.99371L10.0247 7.98052L10.0073 2.18121Z", fill: "#2F3030" }),
1460
- /* @__PURE__ */ jsx6("path", { d: "M5.31982 9.99371L9.98998 2.18121L10.0073 7.98052L5.31982 9.99371Z", fill: "#828384" }),
1461
- /* @__PURE__ */ jsx6("path", { d: "M9.98998 12.8062L5.31982 10.047L10.0073 8.11871L9.98998 12.8062Z", fill: "#343535" }),
1462
- /* @__PURE__ */ jsx6("path", { d: "M14.6948 10.047L10.0247 8.11871L10.0073 12.8062L14.6948 10.047Z", fill: "#131313" }),
1463
- /* @__PURE__ */ jsx6("path", { d: "M10.0073 14.0046L14.6948 11.2437L10.0073 17.8062V14.0046Z", fill: "#2F3030" }),
1464
- /* @__PURE__ */ jsx6("path", { d: "M10.0073 14.0046L5.31982 11.2437L10.0073 17.8062V14.0046Z", fill: "#828384" })
1523
+ /* @__PURE__ */ jsx7("path", { d: "M10.0073 2.18121L14.6948 9.99371L10.0247 7.98052L10.0073 2.18121Z", fill: "#2F3030" }),
1524
+ /* @__PURE__ */ jsx7("path", { d: "M5.31982 9.99371L9.98998 2.18121L10.0073 7.98052L5.31982 9.99371Z", fill: "#828384" }),
1525
+ /* @__PURE__ */ jsx7("path", { d: "M9.98998 12.8062L5.31982 10.047L10.0073 8.11871L9.98998 12.8062Z", fill: "#343535" }),
1526
+ /* @__PURE__ */ jsx7("path", { d: "M14.6948 10.047L10.0247 8.11871L10.0073 12.8062L14.6948 10.047Z", fill: "#131313" }),
1527
+ /* @__PURE__ */ jsx7("path", { d: "M10.0073 14.0046L14.6948 11.2437L10.0073 17.8062V14.0046Z", fill: "#2F3030" }),
1528
+ /* @__PURE__ */ jsx7("path", { d: "M10.0073 14.0046L5.31982 11.2437L10.0073 17.8062V14.0046Z", fill: "#828384" })
1465
1529
  ] });
1466
1530
  var SolBadgeIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1467
- /* @__PURE__ */ jsx6("rect", { width: "20", height: "20", rx: "10", fill: "#0C0C0C" }),
1468
- /* @__PURE__ */ jsx6(
1531
+ /* @__PURE__ */ jsx7("rect", { width: "20", height: "20", rx: "10", fill: "#0C0C0C" }),
1532
+ /* @__PURE__ */ jsx7(
1469
1533
  "path",
1470
1534
  {
1471
1535
  fillRule: "evenodd",
@@ -1474,7 +1538,7 @@ var SolBadgeIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20
1474
1538
  fill: "url(#rs-sol-badge-grad)"
1475
1539
  }
1476
1540
  ),
1477
- /* @__PURE__ */ jsx6("defs", { children: /* @__PURE__ */ jsxs5(
1541
+ /* @__PURE__ */ jsx7("defs", { children: /* @__PURE__ */ jsxs5(
1478
1542
  "linearGradient",
1479
1543
  {
1480
1544
  id: "rs-sol-badge-grad",
@@ -1484,15 +1548,15 @@ var SolBadgeIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20
1484
1548
  y2: "5.08343",
1485
1549
  gradientUnits: "userSpaceOnUse",
1486
1550
  children: [
1487
- /* @__PURE__ */ jsx6("stop", { stopColor: "#CB4EE8" }),
1488
- /* @__PURE__ */ jsx6("stop", { offset: "1", stopColor: "#10F4B1" })
1551
+ /* @__PURE__ */ jsx7("stop", { stopColor: "#CB4EE8" }),
1552
+ /* @__PURE__ */ jsx7("stop", { offset: "1", stopColor: "#10F4B1" })
1489
1553
  ]
1490
1554
  }
1491
1555
  ) })
1492
1556
  ] });
1493
1557
  var BaseBadgeIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "20", viewBox: "0 0 111 111", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1494
- /* @__PURE__ */ jsx6("circle", { cx: "55.5", cy: "55.5", r: "55.5", fill: "#0052FF" }),
1495
- /* @__PURE__ */ jsx6(
1558
+ /* @__PURE__ */ jsx7("circle", { cx: "55.5", cy: "55.5", r: "55.5", fill: "#0052FF" }),
1559
+ /* @__PURE__ */ jsx7(
1496
1560
  "path",
1497
1561
  {
1498
1562
  d: "M54.921 93.4c20.942 0 37.92-16.978 37.92-37.921S75.863 17.558 54.92 17.558c-19.498 0-35.57 14.725-37.655 33.647h49.82v5.548h-49.82C19.351 75.675 35.423 93.4 54.921 93.4z",
@@ -1501,14 +1565,14 @@ var BaseBadgeIcon = () => /* @__PURE__ */ jsxs5("svg", { width: "20", height: "2
1501
1565
  )
1502
1566
  ] });
1503
1567
  var walletBadge = /* @__PURE__ */ jsxs5("span", { className: "rs-list-row-meta-icons", children: [
1504
- /* @__PURE__ */ jsx6("span", { children: /* @__PURE__ */ jsx6(RabbyIcon, {}) }),
1505
- /* @__PURE__ */ jsx6("span", { children: /* @__PURE__ */ jsx6(PhantomIcon, {}) }),
1506
- /* @__PURE__ */ jsx6("span", { children: /* @__PURE__ */ jsx6(WalletConnectIcon, {}) })
1568
+ /* @__PURE__ */ jsx7("span", { children: /* @__PURE__ */ jsx7(RabbyIcon, {}) }),
1569
+ /* @__PURE__ */ jsx7("span", { children: /* @__PURE__ */ jsx7(PhantomIcon, {}) }),
1570
+ /* @__PURE__ */ jsx7("span", { children: /* @__PURE__ */ jsx7(WalletConnectIcon, {}) })
1507
1571
  ] });
1508
1572
  var chainBadge = /* @__PURE__ */ jsxs5("span", { className: "rs-list-row-meta-icons", children: [
1509
- /* @__PURE__ */ jsx6("span", { children: /* @__PURE__ */ jsx6(EthBadgeIcon, {}) }),
1510
- /* @__PURE__ */ jsx6("span", { children: /* @__PURE__ */ jsx6(SolBadgeIcon, {}) }),
1511
- /* @__PURE__ */ jsx6("span", { children: /* @__PURE__ */ jsx6(BaseBadgeIcon, {}) })
1573
+ /* @__PURE__ */ jsx7("span", { children: /* @__PURE__ */ jsx7(EthBadgeIcon, {}) }),
1574
+ /* @__PURE__ */ jsx7("span", { children: /* @__PURE__ */ jsx7(SolBadgeIcon, {}) }),
1575
+ /* @__PURE__ */ jsx7("span", { children: /* @__PURE__ */ jsx7(BaseBadgeIcon, {}) })
1512
1576
  ] });
1513
1577
  function WalletBadgeIcons() {
1514
1578
  return walletBadge;
@@ -1520,7 +1584,7 @@ function ChainBadgeIcons() {
1520
1584
  ChainBadgeIcons.displayName = "ChainBadgeIcons";
1521
1585
 
1522
1586
  // src/components/steps/ConnectStep.tsx
1523
- import { Fragment, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
1587
+ import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
1524
1588
  function formatBalanceUsd(value) {
1525
1589
  if (!Number.isFinite(value) || value <= 0) return "$0.00";
1526
1590
  return `$${value.toFixed(2)}`;
@@ -1530,7 +1594,7 @@ function shorten(addr) {
1530
1594
  }
1531
1595
  function renderWalletLeading(row) {
1532
1596
  if (row.icon) {
1533
- return /* @__PURE__ */ jsx7(
1597
+ return /* @__PURE__ */ jsx8(
1534
1598
  "img",
1535
1599
  {
1536
1600
  src: row.icon,
@@ -1539,11 +1603,11 @@ function renderWalletLeading(row) {
1539
1603
  }
1540
1604
  );
1541
1605
  }
1542
- return /* @__PURE__ */ jsx7(WalletIcon, {});
1606
+ return /* @__PURE__ */ jsx8(WalletIcon, {});
1543
1607
  }
1544
1608
  function renderRowTrailing(state) {
1545
1609
  if (state === "loading") {
1546
- return /* @__PURE__ */ jsx7(Spinner, { className: "rs-spinner--sm" });
1610
+ return /* @__PURE__ */ jsx8(Spinner, { className: "rs-spinner--sm" });
1547
1611
  }
1548
1612
  return void 0;
1549
1613
  }
@@ -1568,38 +1632,39 @@ function ConnectStep({
1568
1632
  );
1569
1633
  const showDappImports = hasReownWallet && (dappImports?.length ?? 0) > 0;
1570
1634
  const extraChainCount = Math.max(0, getSupportedChainIds().length - 3);
1571
- const chainBadge2 = /* @__PURE__ */ jsxs6(Fragment, { children: [
1572
- /* @__PURE__ */ jsx7(ChainBadgeIcons, {}),
1635
+ const chainBadge2 = /* @__PURE__ */ jsxs6(Fragment2, { children: [
1636
+ /* @__PURE__ */ jsx8(ChainBadgeIcons, {}),
1573
1637
  extraChainCount > 0 ? `+${extraChainCount} chains` : "All chains"
1574
1638
  ] });
1575
1639
  const defaultSubtitle = onSelectTransferCrypto ? "Add money to your balance" : "Choose a wallet to continue";
1576
1640
  return /* @__PURE__ */ jsxs6("div", { className: "rs-screen", children: [
1577
1641
  /* @__PURE__ */ jsxs6("div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1578
- /* @__PURE__ */ jsx7(
1642
+ /* @__PURE__ */ jsx8(
1579
1643
  BodyHeader,
1580
1644
  {
1581
- icon: /* @__PURE__ */ jsx7(HandCoinsIcon, {}),
1645
+ icon: /* @__PURE__ */ jsx8(HandCoinsIcon, {}),
1582
1646
  title,
1583
1647
  subtitle: subtitle ?? defaultSubtitle
1584
1648
  }
1585
1649
  ),
1586
1650
  /* @__PURE__ */ jsxs6("div", { className: "rs-list", children: [
1587
- onSelectTransferCrypto && /* @__PURE__ */ jsx7(
1651
+ onSelectTransferCrypto && /* @__PURE__ */ jsx8(
1588
1652
  ListRow,
1589
1653
  {
1590
- leading: /* @__PURE__ */ jsx7(CoinsIcon, {}),
1654
+ leading: /* @__PURE__ */ jsx8(TransferCryptoIcon, {}),
1591
1655
  title: "Transfer crypto",
1592
1656
  subtitle: transferCryptoState === "loading" ? "Preparing\u2026" : transferCryptoState === "error" ? transferCryptoErrorReason ?? "Couldn't prepare account \u2014 tap to retry" : "Instant - No limit",
1593
1657
  meta: chainBadge2,
1594
1658
  onClick: onSelectTransferCrypto,
1595
1659
  disabled: transferCryptoState === "loading",
1596
- trailing: transferCryptoState === "loading" ? /* @__PURE__ */ jsx7(Spinner, { className: "rs-spinner--sm" }) : void 0
1660
+ trailing: transferCryptoState === "loading" ? /* @__PURE__ */ jsx8(Spinner, { className: "rs-spinner--sm" }) : void 0
1597
1661
  }
1598
1662
  ),
1599
1663
  rows.map((row) => {
1600
1664
  const collapseToExternal = Boolean(onSelectTransferCrypto) && row.kind !== "solana";
1601
1665
  const subtitleText = row.state === "loading" ? "Preparing\u2026" : row.state === "error" ? row.errorReason ?? "Couldn't prepare wallet \u2014 tap to retry" : shorten(row.address);
1602
- return /* @__PURE__ */ jsx7(
1666
+ const showInlineDisconnect = collapseToExternal && Boolean(onDisconnect) && row.state !== "loading";
1667
+ return /* @__PURE__ */ jsx8(
1603
1668
  ListRow,
1604
1669
  {
1605
1670
  leading: renderWalletLeading(row),
@@ -1607,19 +1672,20 @@ function ConnectStep({
1607
1672
  subtitle: subtitleText,
1608
1673
  onClick: () => onConfirmWallet?.(row.id),
1609
1674
  disabled: row.state === "loading",
1610
- trailing: renderRowTrailing(row.state)
1675
+ trailing: renderRowTrailing(row.state),
1676
+ action: showInlineDisconnect && onDisconnect ? { label: "Disconnect", onClick: onDisconnect } : void 0
1611
1677
  },
1612
1678
  row.id
1613
1679
  );
1614
1680
  }),
1615
- !hasReownWallet && handleConnect && /* @__PURE__ */ jsx7(
1681
+ !hasReownWallet && handleConnect && /* @__PURE__ */ jsx8(
1616
1682
  ListRow,
1617
1683
  {
1618
- leading: /* @__PURE__ */ jsx7(WalletIcon, {}),
1684
+ leading: /* @__PURE__ */ jsx8(WalletIcon, {}),
1619
1685
  title: "Connect wallet",
1620
1686
  subtitle: "Instant - No limit",
1621
- meta: /* @__PURE__ */ jsxs6(Fragment, { children: [
1622
- /* @__PURE__ */ jsx7(WalletBadgeIcons, {}),
1687
+ meta: /* @__PURE__ */ jsxs6(Fragment2, { children: [
1688
+ /* @__PURE__ */ jsx8(WalletBadgeIcons, {}),
1623
1689
  "+100 wallets"
1624
1690
  ] }),
1625
1691
  onClick: handleConnect
@@ -1627,20 +1693,20 @@ function ConnectStep({
1627
1693
  ),
1628
1694
  showDappImports && dappImports?.map((row) => {
1629
1695
  if (row.status === "loading") {
1630
- return /* @__PURE__ */ jsx7(
1696
+ return /* @__PURE__ */ jsx8(
1631
1697
  ListRow,
1632
1698
  {
1633
1699
  leading: row.icon,
1634
1700
  title: row.label,
1635
1701
  subtitle: "Checking balance\u2026",
1636
1702
  disabled: true,
1637
- trailing: /* @__PURE__ */ jsx7(Spinner, { className: "rs-spinner--sm" })
1703
+ trailing: /* @__PURE__ */ jsx8(Spinner, { className: "rs-spinner--sm" })
1638
1704
  },
1639
1705
  row.id
1640
1706
  );
1641
1707
  }
1642
1708
  if (row.status.enabled) {
1643
- return /* @__PURE__ */ jsx7(
1709
+ return /* @__PURE__ */ jsx8(
1644
1710
  ListRow,
1645
1711
  {
1646
1712
  leading: row.icon,
@@ -1652,7 +1718,7 @@ function ConnectStep({
1652
1718
  );
1653
1719
  }
1654
1720
  if (row.status.retryable) {
1655
- return /* @__PURE__ */ jsx7(
1721
+ return /* @__PURE__ */ jsx8(
1656
1722
  ListRow,
1657
1723
  {
1658
1724
  leading: row.icon,
@@ -1663,7 +1729,7 @@ function ConnectStep({
1663
1729
  row.id
1664
1730
  );
1665
1731
  }
1666
- return /* @__PURE__ */ jsx7(
1732
+ return /* @__PURE__ */ jsx8(
1667
1733
  ListRow,
1668
1734
  {
1669
1735
  leading: row.icon,
@@ -1676,16 +1742,7 @@ function ConnectStep({
1676
1742
  })
1677
1743
  ] })
1678
1744
  ] }),
1679
- onDisconnect && hasReownWallet && /* @__PURE__ */ jsx7("div", { className: "rs-screen-tight-row", children: /* @__PURE__ */ jsx7(
1680
- "button",
1681
- {
1682
- type: "button",
1683
- className: "rs-connect-wallet-manage",
1684
- onClick: onDisconnect,
1685
- children: "Disconnect wallet"
1686
- }
1687
- ) }),
1688
- /* @__PURE__ */ jsx7(PoweredBy, {})
1745
+ /* @__PURE__ */ jsx8(PoweredBy, {})
1689
1746
  ] });
1690
1747
  }
1691
1748
  ConnectStep.displayName = "ConnectStep";
@@ -1760,7 +1817,7 @@ import { useEffect as useEffect4, useRef as useRef4, useState as useState2 } fro
1760
1817
  import { formatUnits } from "viem";
1761
1818
 
1762
1819
  // src/components/ui/Button.tsx
1763
- import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
1820
+ import { Fragment as Fragment3, jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
1764
1821
  function Button({
1765
1822
  children,
1766
1823
  variant = "accent",
@@ -1780,7 +1837,7 @@ function Button({
1780
1837
  className
1781
1838
  ].filter(Boolean).join(" ");
1782
1839
  const showInlineLoadingText = loading && loadingText !== void 0;
1783
- return /* @__PURE__ */ jsx8(
1840
+ return /* @__PURE__ */ jsx9(
1784
1841
  "button",
1785
1842
  {
1786
1843
  className: classes,
@@ -1788,11 +1845,11 @@ function Button({
1788
1845
  "aria-busy": loading || void 0,
1789
1846
  ...props,
1790
1847
  children: showInlineLoadingText ? /* @__PURE__ */ jsxs7("span", { className: "rs-button__loading-row", children: [
1791
- /* @__PURE__ */ jsx8(Spinner, { className: "rs-spinner--sm" }),
1792
- /* @__PURE__ */ jsx8("span", { children: loadingText })
1793
- ] }) : /* @__PURE__ */ jsxs7(Fragment2, { children: [
1794
- /* @__PURE__ */ jsx8("span", { className: loading ? "rs-button__content--hidden" : "", children }),
1795
- loading && /* @__PURE__ */ jsx8("span", { className: "rs-button__spinner", children: /* @__PURE__ */ jsx8(Spinner, { className: "rs-spinner--sm" }) })
1848
+ /* @__PURE__ */ jsx9(Spinner, { className: "rs-spinner--sm" }),
1849
+ /* @__PURE__ */ jsx9("span", { children: loadingText })
1850
+ ] }) : /* @__PURE__ */ jsxs7(Fragment3, { children: [
1851
+ /* @__PURE__ */ jsx9("span", { className: loading ? "rs-button__content--hidden" : "", children }),
1852
+ loading && /* @__PURE__ */ jsx9("span", { className: "rs-button__spinner", children: /* @__PURE__ */ jsx9(Spinner, { className: "rs-spinner--sm" }) })
1796
1853
  ] })
1797
1854
  }
1798
1855
  );
@@ -1807,7 +1864,7 @@ import {
1807
1864
  useCallback as useCallback2
1808
1865
  } from "react";
1809
1866
  import { createPortal as createPortal2 } from "react-dom";
1810
- import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
1867
+ import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
1811
1868
  function Tooltip({ content, children, className }) {
1812
1869
  const [open, setOpen] = useState(false);
1813
1870
  const [position, setPosition] = useState(null);
@@ -1856,7 +1913,7 @@ function Tooltip({ content, children, className }) {
1856
1913
  onMouseEnter: () => setOpen(true),
1857
1914
  onMouseLeave: () => setOpen(false),
1858
1915
  children: [
1859
- /* @__PURE__ */ jsx9(
1916
+ /* @__PURE__ */ jsx10(
1860
1917
  "span",
1861
1918
  {
1862
1919
  className: "rs-tooltip-trigger",
@@ -1878,7 +1935,7 @@ function Tooltip({ content, children, className }) {
1878
1935
  }
1879
1936
  ),
1880
1937
  open && position && typeof document !== "undefined" && createPortal2(
1881
- /* @__PURE__ */ jsx9(
1938
+ /* @__PURE__ */ jsx10(
1882
1939
  "span",
1883
1940
  {
1884
1941
  ref: bubbleRef,
@@ -1982,7 +2039,67 @@ function txRefsMatch(a, b) {
1982
2039
  }
1983
2040
 
1984
2041
  // src/components/steps/ProcessingStep.tsx
1985
- import { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
2042
+ import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2043
+ function SuccessBadge() {
2044
+ return /* @__PURE__ */ jsxs9(
2045
+ "svg",
2046
+ {
2047
+ width: "40",
2048
+ height: "40",
2049
+ viewBox: "0 0 40 40",
2050
+ fill: "none",
2051
+ xmlns: "http://www.w3.org/2000/svg",
2052
+ "aria-hidden": "true",
2053
+ children: [
2054
+ /* @__PURE__ */ jsx11(
2055
+ "rect",
2056
+ {
2057
+ width: "40",
2058
+ height: "40",
2059
+ rx: "8",
2060
+ fill: "var(--rs-icon-wrapper-bg)"
2061
+ }
2062
+ ),
2063
+ /* @__PURE__ */ jsx11(
2064
+ "path",
2065
+ {
2066
+ d: "M28 14L17 25L12 20",
2067
+ stroke: "var(--rs-icon-wrapper-icon)",
2068
+ strokeWidth: "2",
2069
+ strokeLinecap: "round",
2070
+ strokeLinejoin: "round"
2071
+ }
2072
+ )
2073
+ ]
2074
+ }
2075
+ );
2076
+ }
2077
+ function FailedBadge() {
2078
+ return /* @__PURE__ */ jsxs9(
2079
+ "svg",
2080
+ {
2081
+ width: "40",
2082
+ height: "40",
2083
+ viewBox: "0 0 40 40",
2084
+ fill: "none",
2085
+ xmlns: "http://www.w3.org/2000/svg",
2086
+ "aria-hidden": "true",
2087
+ children: [
2088
+ /* @__PURE__ */ jsx11("rect", { width: "40", height: "40", rx: "8", fill: "#FB2C36" }),
2089
+ /* @__PURE__ */ jsx11(
2090
+ "path",
2091
+ {
2092
+ d: "M26 14L14 26M14 14L26 26",
2093
+ stroke: "white",
2094
+ strokeWidth: "2",
2095
+ strokeLinecap: "round",
2096
+ strokeLinejoin: "round"
2097
+ }
2098
+ )
2099
+ ]
2100
+ }
2101
+ );
2102
+ }
1986
2103
  var INITIAL_POLL_INTERVAL = 3e3;
1987
2104
  var MAX_POLL_INTERVAL = 3e4;
1988
2105
  var BACKOFF_MULTIPLIER = 1.5;
@@ -2460,122 +2577,129 @@ function ProcessingStep({
2460
2577
  const feeSponsored = uiConfig?.feeSponsored ?? false;
2461
2578
  const feeTooltip = uiConfig?.feeTooltip ?? (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.");
2462
2579
  const stateTitle = isComplete ? `${flowCapitalized} successful` : isFailed ? `${flowCapitalized} failed` : "Processing...";
2463
- const stateVariant = isComplete ? "success" : isFailed ? "error" : "default";
2464
- const stateIcon = isComplete ? /* @__PURE__ */ jsx10(CheckIcon, {}) : isFailed ? /* @__PURE__ */ jsx10(CloseIcon, {}) : /* @__PURE__ */ jsx10(WalletIcon, {});
2465
2580
  const handleRetry = onRetry ?? onNewDeposit;
2581
+ const headerContent = isComplete ? /* @__PURE__ */ jsxs9("div", { className: "rs-body-header", children: [
2582
+ /* @__PURE__ */ jsx11(SuccessBadge, {}),
2583
+ /* @__PURE__ */ jsx11("div", { className: "rs-body-header-text", children: /* @__PURE__ */ jsx11("h2", { className: "rs-body-header-title", children: stateTitle }) })
2584
+ ] }) : isFailed ? /* @__PURE__ */ jsxs9("div", { className: "rs-body-header", children: [
2585
+ /* @__PURE__ */ jsx11(FailedBadge, {}),
2586
+ /* @__PURE__ */ jsx11("div", { className: "rs-body-header-text", children: /* @__PURE__ */ jsx11("h2", { className: "rs-body-header-title", children: stateTitle }) })
2587
+ ] }) : /* @__PURE__ */ jsx11(BodyHeader, { icon: /* @__PURE__ */ jsx11(WalletIcon, {}), title: stateTitle });
2466
2588
  return /* @__PURE__ */ jsxs9("div", { className: "rs-screen", children: [
2467
2589
  /* @__PURE__ */ jsxs9("div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2468
- /* @__PURE__ */ jsx10(
2469
- BodyHeader,
2470
- {
2471
- variant: stateVariant,
2472
- icon: stateIcon,
2473
- title: stateTitle
2474
- }
2475
- ),
2476
- /* @__PURE__ */ jsxs9("div", { className: "rs-amount-details", children: [
2477
- /* @__PURE__ */ jsxs9("div", { className: "rs-amount-detail-row", children: [
2478
- /* @__PURE__ */ jsx10("span", { children: "Source chain" }),
2479
- /* @__PURE__ */ jsxs9("span", { className: "rs-amount-detail-value", children: [
2480
- /* @__PURE__ */ jsx10("span", { children: sourceChainName }),
2481
- sourceChainIcon && /* @__PURE__ */ jsx10("span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ jsx10("img", { src: sourceChainIcon, alt: "" }) }),
2482
- sourceExplorerUrl && /* @__PURE__ */ jsx10(
2590
+ headerContent,
2591
+ /* @__PURE__ */ jsxs9("div", { className: "rs-review-details", children: [
2592
+ /* @__PURE__ */ jsxs9("div", { className: "rs-review-detail-row", children: [
2593
+ /* @__PURE__ */ jsx11("span", { children: "Source chain" }),
2594
+ /* @__PURE__ */ jsxs9("span", { className: "rs-review-detail-value", children: [
2595
+ /* @__PURE__ */ jsx11("span", { children: sourceChainName }),
2596
+ sourceChainIcon && /* @__PURE__ */ jsx11("span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ jsx11("img", { src: sourceChainIcon, alt: "" }) }),
2597
+ sourceExplorerUrl && /* @__PURE__ */ jsx11(
2483
2598
  "a",
2484
2599
  {
2485
2600
  href: sourceExplorerUrl,
2486
2601
  target: "_blank",
2487
2602
  rel: "noopener noreferrer",
2488
- className: "rs-amount-detail-link",
2603
+ className: "rs-review-detail-link",
2489
2604
  "aria-label": "View source transaction",
2490
- children: /* @__PURE__ */ jsx10(ExternalLinkIcon, {})
2605
+ children: /* @__PURE__ */ jsx11(ExternalLinkIcon, {})
2491
2606
  }
2492
2607
  )
2493
2608
  ] })
2494
2609
  ] }),
2495
- /* @__PURE__ */ jsxs9("div", { className: "rs-amount-detail-row", children: [
2496
- /* @__PURE__ */ jsx10("span", { children: "Destination chain" }),
2497
- /* @__PURE__ */ jsxs9("span", { className: "rs-amount-detail-value", children: [
2498
- /* @__PURE__ */ jsx10("span", { children: targetChainName }),
2499
- targetChainIcon && /* @__PURE__ */ jsx10("span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ jsx10("img", { src: targetChainIcon, alt: "" }) }),
2500
- destExplorerUrl && /* @__PURE__ */ jsx10(
2610
+ /* @__PURE__ */ jsxs9("div", { className: "rs-review-detail-row", children: [
2611
+ /* @__PURE__ */ jsx11("span", { children: "Destination chain" }),
2612
+ /* @__PURE__ */ jsxs9("span", { className: "rs-review-detail-value", children: [
2613
+ /* @__PURE__ */ jsx11("span", { children: targetChainName }),
2614
+ targetChainIcon && /* @__PURE__ */ jsx11("span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ jsx11("img", { src: targetChainIcon, alt: "" }) }),
2615
+ destExplorerUrl && /* @__PURE__ */ jsx11(
2501
2616
  "a",
2502
2617
  {
2503
2618
  href: destExplorerUrl,
2504
2619
  target: "_blank",
2505
2620
  rel: "noopener noreferrer",
2506
- className: "rs-amount-detail-link",
2621
+ className: "rs-review-detail-link",
2507
2622
  "aria-label": "View destination transaction",
2508
- children: /* @__PURE__ */ jsx10(ExternalLinkIcon, {})
2623
+ children: /* @__PURE__ */ jsx11(ExternalLinkIcon, {})
2509
2624
  }
2510
2625
  )
2511
2626
  ] })
2512
2627
  ] }),
2513
- /* @__PURE__ */ jsxs9("div", { className: "rs-amount-detail-row", children: [
2514
- /* @__PURE__ */ jsx10("span", { children: isProcessing ? "Estimated time" : "Total time" }),
2515
- /* @__PURE__ */ jsx10("span", { className: "rs-amount-detail-value", children: isProcessing ? estimatedTime : totalTimeText })
2628
+ /* @__PURE__ */ jsxs9("div", { className: "rs-review-detail-row", children: [
2629
+ /* @__PURE__ */ jsx11("span", { children: isProcessing ? "Estimated time" : "Total time" }),
2630
+ /* @__PURE__ */ jsx11("span", { className: "rs-review-detail-value", children: isProcessing ? estimatedTime : totalTimeText })
2516
2631
  ] }),
2517
- /* @__PURE__ */ jsxs9("div", { className: "rs-amount-detail-row", children: [
2518
- /* @__PURE__ */ jsx10("span", { children: "You send" }),
2519
- /* @__PURE__ */ jsxs9("span", { className: "rs-amount-detail-value", children: [
2632
+ /* @__PURE__ */ jsxs9("div", { className: "rs-review-detail-row", children: [
2633
+ /* @__PURE__ */ jsx11("span", { children: "You send" }),
2634
+ /* @__PURE__ */ jsxs9("span", { className: "rs-review-detail-value", children: [
2520
2635
  /* @__PURE__ */ jsxs9("span", { children: [
2521
2636
  formattedReceivedAmount,
2522
2637
  " ",
2523
2638
  sourceSymbol
2524
2639
  ] }),
2525
- sourceTokenIcon && /* @__PURE__ */ jsx10("span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ jsx10("img", { src: sourceTokenIcon, alt: "" }) })
2640
+ sourceTokenIcon && /* @__PURE__ */ jsx11("span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ jsx11("img", { src: sourceTokenIcon, alt: "" }) })
2526
2641
  ] })
2527
2642
  ] }),
2528
- /* @__PURE__ */ jsxs9("div", { className: "rs-amount-detail-row", children: [
2529
- /* @__PURE__ */ jsx10("span", { children: "Receive" }),
2530
- /* @__PURE__ */ jsxs9("span", { className: "rs-amount-detail-value", children: [
2643
+ /* @__PURE__ */ jsxs9("div", { className: "rs-review-detail-row", children: [
2644
+ /* @__PURE__ */ jsx11("span", { children: "Receive" }),
2645
+ /* @__PURE__ */ jsxs9("span", { className: "rs-review-detail-value", children: [
2531
2646
  /* @__PURE__ */ jsxs9("span", { children: [
2532
2647
  "~",
2533
2648
  formattedReceivedAmount,
2534
2649
  " ",
2535
2650
  targetSymbol
2536
2651
  ] }),
2537
- targetTokenIcon && /* @__PURE__ */ jsx10("span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ jsx10("img", { src: targetTokenIcon, alt: "" }) })
2652
+ targetTokenIcon && /* @__PURE__ */ jsx11("span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ jsx11("img", { src: targetTokenIcon, alt: "" }) })
2538
2653
  ] })
2539
2654
  ] }),
2540
- isFailed && balanceAfterUsd !== void 0 && /* @__PURE__ */ jsxs9("div", { className: "rs-amount-detail-row", children: [
2541
- /* @__PURE__ */ jsx10("span", { children: "Balance" }),
2542
- /* @__PURE__ */ jsxs9("span", { className: "rs-amount-detail-value", children: [
2655
+ isFailed && balanceAfterUsd !== void 0 && /* @__PURE__ */ jsxs9("div", { className: "rs-review-detail-row", children: [
2656
+ /* @__PURE__ */ jsx11("span", { children: "Balance" }),
2657
+ /* @__PURE__ */ jsxs9("span", { className: "rs-review-detail-value", children: [
2543
2658
  "$",
2544
2659
  balanceAfterUsd.toFixed(2)
2545
2660
  ] })
2546
2661
  ] }),
2547
- /* @__PURE__ */ jsxs9("div", { className: "rs-amount-detail-row", children: [
2548
- /* @__PURE__ */ jsx10("span", { children: "Fees" }),
2549
- /* @__PURE__ */ jsxs9("span", { className: "rs-amount-detail-value", children: [
2550
- /* @__PURE__ */ jsx10(
2662
+ /* @__PURE__ */ jsxs9("div", { className: "rs-review-detail-row", children: [
2663
+ /* @__PURE__ */ jsx11("span", { children: "Fees" }),
2664
+ /* @__PURE__ */ jsxs9("span", { className: "rs-review-detail-value", children: [
2665
+ /* @__PURE__ */ jsx11(
2551
2666
  "span",
2552
2667
  {
2553
2668
  style: feeSponsored ? { textDecoration: "line-through" } : void 0,
2554
2669
  children: "$0.05"
2555
2670
  }
2556
2671
  ),
2557
- /* @__PURE__ */ jsx10(Tooltip, { content: feeTooltip, children: /* @__PURE__ */ jsx10("span", { className: "rs-amount-detail-info", "aria-label": "Fee info", children: /* @__PURE__ */ jsx10(InfoIcon, {}) }) })
2672
+ /* @__PURE__ */ jsx11(Tooltip, { content: feeTooltip, children: /* @__PURE__ */ jsx11("span", { className: "rs-review-detail-info", "aria-label": "Fee info", children: /* @__PURE__ */ jsx11(InfoIcon, {}) }) })
2558
2673
  ] })
2559
2674
  ] })
2560
2675
  ] }),
2561
2676
  isFailed && failureMessage && /* @__PURE__ */ jsxs9("div", { className: "rs-amount-error", role: "alert", children: [
2562
- /* @__PURE__ */ jsx10(AlertTriangleIcon, { style: { width: 16, height: 16, flexShrink: 0 } }),
2563
- /* @__PURE__ */ jsx10("span", { children: failureMessage })
2677
+ /* @__PURE__ */ jsx11(AlertTriangleIcon, { style: { width: 16, height: 16, flexShrink: 0 } }),
2678
+ /* @__PURE__ */ jsx11("span", { children: failureMessage })
2564
2679
  ] }),
2565
- isProcessing && /* @__PURE__ */ jsx10(Button, { fullWidth: true, disabled: true, loading: true, children: "Submitting transaction..." }),
2680
+ isProcessing && /* @__PURE__ */ jsx11(
2681
+ Button,
2682
+ {
2683
+ fullWidth: true,
2684
+ disabled: true,
2685
+ loading: true,
2686
+ loadingText: "Submitting transaction...",
2687
+ children: "Submitting transaction..."
2688
+ }
2689
+ ),
2566
2690
  isComplete && /* @__PURE__ */ jsxs9("div", { className: "rs-screen-button-row", children: [
2567
2691
  onNewDeposit && /* @__PURE__ */ jsxs9(Button, { variant: "outline", onClick: onNewDeposit, fullWidth: true, children: [
2568
2692
  "New ",
2569
2693
  flowNoun
2570
2694
  ] }),
2571
- onClose && /* @__PURE__ */ jsx10(Button, { onClick: onClose, fullWidth: true, children: "Done" })
2695
+ onClose && /* @__PURE__ */ jsx11(Button, { onClick: onClose, fullWidth: true, children: "Done" })
2572
2696
  ] }),
2573
2697
  isFailed && /* @__PURE__ */ jsxs9("div", { className: "rs-screen-button-row", children: [
2574
- onClose && /* @__PURE__ */ jsx10(Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
2575
- handleRetry && /* @__PURE__ */ jsx10(Button, { onClick: handleRetry, fullWidth: true, children: "Try again" })
2698
+ onClose && /* @__PURE__ */ jsx11(Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
2699
+ handleRetry && /* @__PURE__ */ jsx11(Button, { onClick: handleRetry, fullWidth: true, children: "Try again" })
2576
2700
  ] })
2577
2701
  ] }),
2578
- /* @__PURE__ */ jsx10(PoweredBy, {})
2702
+ /* @__PURE__ */ jsx11(PoweredBy, {})
2579
2703
  ] });
2580
2704
  }
2581
2705
 
@@ -2942,7 +3066,7 @@ export {
2942
3066
  HistoryIcon,
2943
3067
  InfoIcon,
2944
3068
  CopyIcon,
2945
- ArrowRightIcon,
3069
+ ArrowUpRightIcon,
2946
3070
  AlertTriangleIcon,
2947
3071
  PercentIcon,
2948
3072
  ClockIcon,