@rhinestone/deposit-modal 0.0.0-dev-20260729163733 → 0.0.0-dev-20260729182851

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.
Files changed (35) hide show
  1. package/dist/{DepositModalReown-Y4WFWUBT.cjs → DepositModalReown-KO52JUL4.cjs} +13 -13
  2. package/dist/{DepositModalReown-2MHPRF63.mjs → DepositModalReown-P4JDIMTF.mjs} +7 -7
  3. package/dist/{chunk-KEYKVNF3.mjs → chunk-4NJ6Q3J6.mjs} +81 -81
  4. package/dist/{chunk-4EN4RKIU.cjs → chunk-7MODHUEP.cjs} +81 -81
  5. package/dist/{chunk-MYE7MZD5.cjs → chunk-7MVW7CEJ.cjs} +60 -60
  6. package/dist/{chunk-XFS2NBQ4.mjs → chunk-7TKMYD4H.mjs} +1 -1
  7. package/dist/{chunk-2IHE3ZZA.mjs → chunk-A223BLVC.mjs} +0 -6
  8. package/dist/{chunk-SVEUP6BG.cjs → chunk-BAPBC6TI.cjs} +3 -3
  9. package/dist/{chunk-TIOWQA3Y.cjs → chunk-DMEK466U.cjs} +1 -1
  10. package/dist/{chunk-JWX33GHX.cjs → chunk-H577RJN5.cjs} +1 -7
  11. package/dist/{chunk-PK3ADQ5D.mjs → chunk-IADW7PHH.mjs} +3 -3
  12. package/dist/{chunk-M5PWZT2F.mjs → chunk-ILT2PITN.mjs} +1 -1
  13. package/dist/{chunk-RWEJQM2K.cjs → chunk-NAHHUQIS.cjs} +65 -65
  14. package/dist/{chunk-BD3OKYTC.mjs → chunk-P4TMKJJU.mjs} +1 -1
  15. package/dist/{chunk-AUHSR3DY.mjs → chunk-Q7WRDBSJ.mjs} +7 -35
  16. package/dist/{chunk-HJHXMMFA.cjs → chunk-QHPPDDYT.cjs} +98 -114
  17. package/dist/{chunk-H7PSI2VO.mjs → chunk-UQRQYBZT.mjs} +3 -3
  18. package/dist/{chunk-JIEXTF6I.mjs → chunk-W4U5KHEO.mjs} +20 -36
  19. package/dist/{chunk-OU5AFKDR.cjs → chunk-YEBXUUH3.cjs} +2 -2
  20. package/dist/{chunk-F3VTZMVW.cjs → chunk-YPAWXCMN.cjs} +379 -407
  21. package/dist/claim.cjs +6 -6
  22. package/dist/claim.mjs +5 -5
  23. package/dist/constants.cjs +3 -3
  24. package/dist/constants.d.cts +1 -1
  25. package/dist/constants.d.ts +1 -1
  26. package/dist/constants.mjs +2 -2
  27. package/dist/deposit.cjs +8 -8
  28. package/dist/deposit.mjs +7 -7
  29. package/dist/index.cjs +10 -10
  30. package/dist/index.mjs +9 -9
  31. package/dist/polymarket.cjs +5 -5
  32. package/dist/polymarket.mjs +2 -2
  33. package/dist/withdraw.cjs +6 -6
  34. package/dist/withdraw.mjs +5 -5
  35. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkF3VTZMVWcjs = require('./chunk-F3VTZMVW.cjs');
4
- require('./chunk-HJHXMMFA.cjs');
5
- require('./chunk-SVEUP6BG.cjs');
3
+ var _chunkYPAWXCMNcjs = require('./chunk-YPAWXCMN.cjs');
4
+ require('./chunk-QHPPDDYT.cjs');
5
+ require('./chunk-BAPBC6TI.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkRWEJQM2Kcjs = require('./chunk-RWEJQM2K.cjs');
10
- require('./chunk-TIOWQA3Y.cjs');
11
- require('./chunk-OU5AFKDR.cjs');
9
+ var _chunkNAHHUQIScjs = require('./chunk-NAHHUQIS.cjs');
10
+ require('./chunk-DMEK466U.cjs');
11
+ require('./chunk-YEBXUUH3.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkJWX33GHXcjs = require('./chunk-JWX33GHX.cjs');
15
+ var _chunkH577RJN5cjs = require('./chunk-H577RJN5.cjs');
16
16
 
17
17
  // src/DepositModalReown.tsx
18
18
  var _react = require('react');
@@ -69,7 +69,7 @@ var APPKIT_NETWORK_BY_ID = {
69
69
  [_networks.katana.id]: _networks.katana,
70
70
  [_networks.hyperEvm.id]: _networks.hyperEvm
71
71
  };
72
- var EVM_NETWORKS = _chunkJWX33GHXcjs.SUPPORTED_CHAINS.map((chain) => {
72
+ var EVM_NETWORKS = _chunkH577RJN5cjs.SUPPORTED_CHAINS.map((chain) => {
73
73
  const network = APPKIT_NETWORK_BY_ID[chain.id];
74
74
  if (!network) {
75
75
  throw new Error(
@@ -88,14 +88,14 @@ function buildTransports(rpcUrls) {
88
88
  const transports = {};
89
89
  for (const network of EVM_NETWORKS) {
90
90
  const id = Number(network.id);
91
- transports[id] = _viem.http.call(void 0, _chunkRWEJQM2Kcjs.rpcUrlFor.call(void 0, rpcUrls, id));
91
+ transports[id] = _viem.http.call(void 0, _chunkNAHHUQIScjs.rpcUrlFor.call(void 0, rpcUrls, id));
92
92
  }
93
93
  return transports;
94
94
  }
95
95
  function getEvmRpcFingerprint(rpcUrls) {
96
96
  return EVM_NETWORKS.map((network) => {
97
97
  const id = Number(network.id);
98
- return `${id}=${_nullishCoalesce(_chunkRWEJQM2Kcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
98
+ return `${id}=${_nullishCoalesce(_chunkNAHHUQIScjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
99
99
  }).join("|");
100
100
  }
101
101
  var cachedAdapter = null;
@@ -189,9 +189,9 @@ function useReownWallet() {
189
189
  await switchChainAsync({ chainId });
190
190
  }
191
191
  } catch (err) {
192
- if (_chunkRWEJQM2Kcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
192
+ if (_chunkNAHHUQIScjs.isUnsupportedChainSwitchError.call(void 0, err)) {
193
193
  throw new Error(
194
- `Switch to ${_chunkJWX33GHXcjs.getChainName.call(void 0, chainId)} in your wallet to continue`
194
+ `Switch to ${_chunkH577RJN5cjs.getChainName.call(void 0, chainId)} in your wallet to continue`
195
195
  );
196
196
  }
197
197
  throw err;
@@ -223,7 +223,7 @@ function DepositModalWithReown(props) {
223
223
  reown.disconnect();
224
224
  }, [reown.disconnect]);
225
225
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
226
- _chunkF3VTZMVWcjs.DepositModalInner,
226
+ _chunkYPAWXCMNcjs.DepositModalInner,
227
227
  {
228
228
  ...props,
229
229
  reownWallet: reownWithSolana,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  DepositModalInner
3
- } from "./chunk-AUHSR3DY.mjs";
4
- import "./chunk-JIEXTF6I.mjs";
5
- import "./chunk-BD3OKYTC.mjs";
3
+ } from "./chunk-Q7WRDBSJ.mjs";
4
+ import "./chunk-W4U5KHEO.mjs";
5
+ import "./chunk-P4TMKJJU.mjs";
6
6
  import {
7
7
  isUnsupportedChainSwitchError,
8
8
  rpcUrlFor
9
- } from "./chunk-KEYKVNF3.mjs";
10
- import "./chunk-XFS2NBQ4.mjs";
11
- import "./chunk-M5PWZT2F.mjs";
9
+ } from "./chunk-4NJ6Q3J6.mjs";
10
+ import "./chunk-7TKMYD4H.mjs";
11
+ import "./chunk-ILT2PITN.mjs";
12
12
  import {
13
13
  SUPPORTED_CHAINS,
14
14
  getChainName
15
- } from "./chunk-2IHE3ZZA.mjs";
15
+ } from "./chunk-A223BLVC.mjs";
16
16
 
17
17
  // src/DepositModalReown.tsx
18
18
  import { useCallback, useMemo } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MODAL_VERSION
3
- } from "./chunk-XFS2NBQ4.mjs";
3
+ } from "./chunk-7TKMYD4H.mjs";
4
4
  import {
5
5
  HYPERCORE_CHAIN_ID,
6
6
  HYPERCORE_MAINNET_CAIP2,
@@ -17,7 +17,7 @@ import {
17
17
  isSolanaCaip2,
18
18
  parseEvmChainId,
19
19
  tokenIconUrl
20
- } from "./chunk-2IHE3ZZA.mjs";
20
+ } from "./chunk-A223BLVC.mjs";
21
21
 
22
22
  // src/components/ui/Modal.tsx
23
23
  import {
@@ -287,48 +287,8 @@ function AppleIcon() {
287
287
  );
288
288
  }
289
289
 
290
- // src/components/ui/Callout.tsx
291
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
292
- function CircleAlertIcon() {
293
- return /* @__PURE__ */ jsx3(
294
- "svg",
295
- {
296
- width: "16",
297
- height: "16",
298
- viewBox: "0 0 16 16",
299
- fill: "none",
300
- xmlns: "http://www.w3.org/2000/svg",
301
- "aria-hidden": "true",
302
- children: /* @__PURE__ */ jsx3(
303
- "path",
304
- {
305
- d: "M10 5.99L6 9.99M6 5.99L10 9.99M14.66 7.99C14.66 11.68 11.68 14.66 8 14.66C4.31 14.66 1.33 11.68 1.33 7.99C1.33 4.31 4.31 1.33 8 1.33C11.68 1.33 14.66 4.31 14.66 7.99Z",
306
- stroke: "currentColor",
307
- strokeWidth: "1.33",
308
- strokeLinecap: "round",
309
- strokeLinejoin: "round"
310
- }
311
- )
312
- }
313
- );
314
- }
315
- function Callout({ variant = "error", children, role }) {
316
- return /* @__PURE__ */ jsxs2(
317
- "div",
318
- {
319
- className: `rs-callout rs-callout--${variant}`,
320
- role: role ?? (variant === "error" ? "alert" : "status"),
321
- children: [
322
- /* @__PURE__ */ jsx3("span", { className: "rs-callout-icon", children: variant === "error" ? /* @__PURE__ */ jsx3(CircleAlertIcon, {}) : /* @__PURE__ */ jsx3(AlertTriangleIcon, {}) }),
323
- /* @__PURE__ */ jsx3("span", { className: "rs-callout-text", children })
324
- ]
325
- }
326
- );
327
- }
328
- Callout.displayName = "Callout";
329
-
330
290
  // src/components/ui/BodyHeader.tsx
331
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
291
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
332
292
  function BodyHeader({
333
293
  icon,
334
294
  title,
@@ -341,14 +301,14 @@ function BodyHeader({
341
301
  variant === "success" ? "rs-body-header-icon--success" : "",
342
302
  variant === "error" ? "rs-body-header-icon--error" : ""
343
303
  ].filter(Boolean).join(" ");
344
- return /* @__PURE__ */ jsxs3("div", { className: "rs-body-header", children: [
345
- /* @__PURE__ */ jsx4("div", { className: iconClasses, children: icon }),
346
- /* @__PURE__ */ jsxs3("div", { className: "rs-body-header-main", children: [
347
- /* @__PURE__ */ jsxs3("div", { className: "rs-body-header-text", children: [
348
- /* @__PURE__ */ jsx4("h2", { className: "rs-body-header-title", children: title }),
349
- subtitle && /* @__PURE__ */ jsx4("p", { className: "rs-body-header-subtitle", children: subtitle })
304
+ return /* @__PURE__ */ jsxs2("div", { className: "rs-body-header", children: [
305
+ /* @__PURE__ */ jsx3("div", { className: iconClasses, children: icon }),
306
+ /* @__PURE__ */ jsxs2("div", { className: "rs-body-header-main", children: [
307
+ /* @__PURE__ */ jsxs2("div", { className: "rs-body-header-text", children: [
308
+ /* @__PURE__ */ jsx3("h2", { className: "rs-body-header-title", children: title }),
309
+ subtitle && /* @__PURE__ */ jsx3("p", { className: "rs-body-header-subtitle", children: subtitle })
350
310
  ] }),
351
- aside && /* @__PURE__ */ jsx4("div", { className: "rs-body-header-aside", children: aside })
311
+ aside && /* @__PURE__ */ jsx3("div", { className: "rs-body-header-aside", children: aside })
352
312
  ] })
353
313
  ] });
354
314
  }
@@ -356,7 +316,7 @@ BodyHeader.displayName = "BodyHeader";
356
316
 
357
317
  // src/components/ui/CdnIcon.tsx
358
318
  import { useState } from "react";
359
- import { Fragment, jsx as jsx5 } from "react/jsx-runtime";
319
+ import { Fragment, jsx as jsx4 } from "react/jsx-runtime";
360
320
  function preconnectIconCdn() {
361
321
  if (typeof document === "undefined") return;
362
322
  if (document.getElementById("rs-icon-cdn-preconnect")) return;
@@ -378,13 +338,13 @@ function CdnIcon({
378
338
  const [loadedSrc, setLoadedSrc] = useState(null);
379
339
  const [erroredSrc, setErroredSrc] = useState(null);
380
340
  if (!src || erroredSrc === src) {
381
- return /* @__PURE__ */ jsx5(Fragment, { children: fallback });
341
+ return /* @__PURE__ */ jsx4(Fragment, { children: fallback });
382
342
  }
383
343
  const isLoading = loadedSrc !== src;
384
344
  const settleIfAlreadyComplete = (el) => {
385
345
  if (el?.complete) setLoadedSrc(src);
386
346
  };
387
- return /* @__PURE__ */ jsx5(
347
+ return /* @__PURE__ */ jsx4(
388
348
  "img",
389
349
  {
390
350
  ref: settleIfAlreadyComplete,
@@ -403,8 +363,8 @@ function CdnIcon({
403
363
  CdnIcon.displayName = "CdnIcon";
404
364
 
405
365
  // src/components/ui/PoweredBy.tsx
406
- import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
407
- var rhinestoneLogo = /* @__PURE__ */ jsxs4(
366
+ import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
367
+ var rhinestoneLogo = /* @__PURE__ */ jsxs3(
408
368
  "svg",
409
369
  {
410
370
  className: "rs-powered-by-logo",
@@ -413,8 +373,8 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs4(
413
373
  xmlns: "http://www.w3.org/2000/svg",
414
374
  "aria-hidden": "true",
415
375
  children: [
416
- /* @__PURE__ */ jsxs4("g", { fill: "currentColor", clipPath: "url(#rs-pb-clip)", children: [
417
- /* @__PURE__ */ jsx6(
376
+ /* @__PURE__ */ jsxs3("g", { fill: "currentColor", clipPath: "url(#rs-pb-clip)", children: [
377
+ /* @__PURE__ */ jsx5(
418
378
  "path",
419
379
  {
420
380
  opacity: "0.5",
@@ -423,8 +383,8 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs4(
423
383
  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"
424
384
  }
425
385
  ),
426
- /* @__PURE__ */ jsx6("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" }),
427
- /* @__PURE__ */ jsx6(
386
+ /* @__PURE__ */ jsx5("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" }),
387
+ /* @__PURE__ */ jsx5(
428
388
  "path",
429
389
  {
430
390
  fillRule: "evenodd",
@@ -432,8 +392,8 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs4(
432
392
  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"
433
393
  }
434
394
  ),
435
- /* @__PURE__ */ jsx6("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" }),
436
- /* @__PURE__ */ jsx6(
395
+ /* @__PURE__ */ jsx5("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" }),
396
+ /* @__PURE__ */ jsx5(
437
397
  "path",
438
398
  {
439
399
  fillRule: "evenodd",
@@ -441,8 +401,8 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs4(
441
401
  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"
442
402
  }
443
403
  ),
444
- /* @__PURE__ */ jsx6("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" }),
445
- /* @__PURE__ */ jsx6(
404
+ /* @__PURE__ */ jsx5("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" }),
405
+ /* @__PURE__ */ jsx5(
446
406
  "path",
447
407
  {
448
408
  fillRule: "evenodd",
@@ -450,16 +410,16 @@ var rhinestoneLogo = /* @__PURE__ */ jsxs4(
450
410
  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"
451
411
  }
452
412
  ),
453
- /* @__PURE__ */ jsx6("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" })
413
+ /* @__PURE__ */ jsx5("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" })
454
414
  ] }),
455
- /* @__PURE__ */ jsx6("defs", { children: /* @__PURE__ */ jsx6("clipPath", { id: "rs-pb-clip", children: /* @__PURE__ */ jsx6("path", { fill: "#fff", d: "M0 0h72v16H0z" }) }) })
415
+ /* @__PURE__ */ jsx5("defs", { children: /* @__PURE__ */ jsx5("clipPath", { id: "rs-pb-clip", children: /* @__PURE__ */ jsx5("path", { fill: "#fff", d: "M0 0h72v16H0z" }) }) })
456
416
  ]
457
417
  }
458
418
  );
459
419
  function PoweredBy() {
460
- return /* @__PURE__ */ jsxs4("div", { className: "rs-powered-by", "aria-label": "Powered by Rhinestone", children: [
461
- /* @__PURE__ */ jsx6("span", { children: "Powered by" }),
462
- /* @__PURE__ */ jsx6(
420
+ return /* @__PURE__ */ jsxs3("div", { className: "rs-powered-by", "aria-label": "Powered by Rhinestone", children: [
421
+ /* @__PURE__ */ jsx5("span", { children: "Powered by" }),
422
+ /* @__PURE__ */ jsx5(
463
423
  "a",
464
424
  {
465
425
  className: "rs-powered-by-link",
@@ -484,16 +444,16 @@ function useLatestRef(value) {
484
444
  }
485
445
 
486
446
  // src/components/ui/Spinner.tsx
487
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
447
+ import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
488
448
  function Spinner({ className }) {
489
- return /* @__PURE__ */ jsxs5(
449
+ return /* @__PURE__ */ jsxs4(
490
450
  "svg",
491
451
  {
492
452
  className: `rs-spinner ${className || ""}`,
493
453
  fill: "none",
494
454
  viewBox: "0 0 20 21",
495
455
  children: [
496
- /* @__PURE__ */ jsx7(
456
+ /* @__PURE__ */ jsx6(
497
457
  "path",
498
458
  {
499
459
  d: "M10 0.5C8.02 0.5 6.08 1.08 4.44 2.18C2.79 3.28 1.51 4.84 0.76 6.67C0.00 8.50 -0.19 10.51 0.19 12.45C0.57 14.39 1.53 16.17 2.92 17.57C4.32 18.96 6.10 19.92 8.04 20.30C9.98 20.69 11.99 20.49 13.82 19.73C15.65 18.98 17.21 17.70 18.31 16.05C19.41 14.41 20 12.47 20 10.5C20 7.84 18.94 5.30 17.07 3.42C15.19 1.55 12.65 0.5 10 0.5ZM10 17.77C8.56 17.77 7.15 17.34 5.95 16.54C4.76 15.74 3.83 14.61 3.28 13.28C2.73 11.95 2.58 10.49 2.86 9.08C3.14 7.67 3.84 6.37 4.85 5.35C5.87 4.34 7.17 3.64 8.58 3.36C9.99 3.08 11.45 3.23 12.78 3.78C14.11 4.33 15.24 5.26 16.04 6.45C16.84 7.65 17.27 9.06 17.27 10.5C17.27 12.42 16.50 14.27 15.14 15.64C13.77 17.00 11.92 17.77 10 17.77Z",
@@ -501,7 +461,7 @@ function Spinner({ className }) {
501
461
  opacity: 0.3
502
462
  }
503
463
  ),
504
- /* @__PURE__ */ jsx7(
464
+ /* @__PURE__ */ jsx6(
505
465
  "path",
506
466
  {
507
467
  d: "M10 3.22C11.74 3.22 13.42 3.84 14.75 4.95C16.08 6.07 16.96 7.61 17.25 9.31C17.30 9.64 17.46 9.94 17.71 10.15C17.96 10.37 18.28 10.49 18.62 10.5C18.82 10.50 19.01 10.45 19.20 10.37C19.38 10.29 19.54 10.16 19.67 10.01C19.80 9.86 19.89 9.68 19.95 9.49C20.00 9.30 20.01 9.10 19.98 8.90C19.59 6.56 18.38 4.42 16.55 2.88C14.72 1.34 12.40 0.5 10 0.5C7.59 0.5 5.27 1.34 3.44 2.88C1.61 4.42 0.40 6.56 0.01 8.90C-0.01 9.10 -0.00 9.30 0.04 9.49C0.10 9.68 0.19 9.86 0.32 10.01C0.45 10.16 0.61 10.29 0.79 10.37C0.98 10.45 1.17 10.50 1.37 10.5C1.71 10.49 2.03 10.37 2.28 10.15C2.53 9.94 2.69 9.64 2.74 9.31C3.03 7.61 3.91 6.07 5.24 4.95C6.57 3.84 8.25 3.22 10 3.22Z",
@@ -514,7 +474,7 @@ function Spinner({ className }) {
514
474
  }
515
475
 
516
476
  // src/components/ui/Button.tsx
517
- import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
477
+ import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
518
478
  function Button({
519
479
  children,
520
480
  variant = "accent",
@@ -534,25 +494,65 @@ function Button({
534
494
  className
535
495
  ].filter(Boolean).join(" ");
536
496
  const showInlineLoadingText = loading && loadingText !== void 0;
537
- return /* @__PURE__ */ jsx8(
497
+ return /* @__PURE__ */ jsx7(
538
498
  "button",
539
499
  {
540
500
  className: classes,
541
501
  disabled: disabled || loading,
542
502
  "aria-busy": loading || void 0,
543
503
  ...props,
544
- children: showInlineLoadingText ? /* @__PURE__ */ jsxs6("span", { className: "rs-button__loading-row", children: [
545
- /* @__PURE__ */ jsx8(Spinner, { className: "rs-spinner--sm" }),
546
- /* @__PURE__ */ jsx8("span", { children: loadingText })
547
- ] }) : /* @__PURE__ */ jsxs6(Fragment2, { children: [
548
- /* @__PURE__ */ jsx8("span", { className: loading ? "rs-button__content--hidden" : "", children }),
549
- loading && /* @__PURE__ */ jsx8("span", { className: "rs-button__spinner", children: /* @__PURE__ */ jsx8(Spinner, { className: "rs-spinner--sm" }) })
504
+ children: showInlineLoadingText ? /* @__PURE__ */ jsxs5("span", { className: "rs-button__loading-row", children: [
505
+ /* @__PURE__ */ jsx7(Spinner, { className: "rs-spinner--sm" }),
506
+ /* @__PURE__ */ jsx7("span", { children: loadingText })
507
+ ] }) : /* @__PURE__ */ jsxs5(Fragment2, { children: [
508
+ /* @__PURE__ */ jsx7("span", { className: loading ? "rs-button__content--hidden" : "", children }),
509
+ loading && /* @__PURE__ */ jsx7("span", { className: "rs-button__spinner", children: /* @__PURE__ */ jsx7(Spinner, { className: "rs-spinner--sm" }) })
550
510
  ] })
551
511
  }
552
512
  );
553
513
  }
554
514
  Button.displayName = "Button";
555
515
 
516
+ // src/components/ui/Callout.tsx
517
+ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
518
+ function CircleAlertIcon() {
519
+ return /* @__PURE__ */ jsx8(
520
+ "svg",
521
+ {
522
+ width: "16",
523
+ height: "16",
524
+ viewBox: "0 0 16 16",
525
+ fill: "none",
526
+ xmlns: "http://www.w3.org/2000/svg",
527
+ "aria-hidden": "true",
528
+ children: /* @__PURE__ */ jsx8(
529
+ "path",
530
+ {
531
+ d: "M10 5.99L6 9.99M6 5.99L10 9.99M14.66 7.99C14.66 11.68 11.68 14.66 8 14.66C4.31 14.66 1.33 11.68 1.33 7.99C1.33 4.31 4.31 1.33 8 1.33C11.68 1.33 14.66 4.31 14.66 7.99Z",
532
+ stroke: "currentColor",
533
+ strokeWidth: "1.33",
534
+ strokeLinecap: "round",
535
+ strokeLinejoin: "round"
536
+ }
537
+ )
538
+ }
539
+ );
540
+ }
541
+ function Callout({ variant = "error", children, role }) {
542
+ return /* @__PURE__ */ jsxs6(
543
+ "div",
544
+ {
545
+ className: `rs-callout rs-callout--${variant}`,
546
+ role: role ?? (variant === "error" ? "alert" : "status"),
547
+ children: [
548
+ /* @__PURE__ */ jsx8("span", { className: "rs-callout-icon", children: variant === "error" ? /* @__PURE__ */ jsx8(CircleAlertIcon, {}) : /* @__PURE__ */ jsx8(AlertTriangleIcon, {}) }),
549
+ /* @__PURE__ */ jsx8("span", { className: "rs-callout-text", children })
550
+ ]
551
+ }
552
+ );
553
+ }
554
+ Callout.displayName = "Callout";
555
+
556
556
  // src/components/ui/TokenIcon.tsx
557
557
  import { jsx as jsx9 } from "react/jsx-runtime";
558
558
  function TokenIcon({ symbol, className, fallback }) {
@@ -2228,13 +2228,13 @@ export {
2228
2228
  UnplugIcon,
2229
2229
  MigrateAssetsIcon,
2230
2230
  AppleIcon,
2231
- Callout,
2232
2231
  BodyHeader,
2233
2232
  CdnIcon,
2234
2233
  PoweredBy,
2235
2234
  Spinner,
2236
2235
  useLatestRef,
2237
2236
  Button,
2237
+ Callout,
2238
2238
  TokenIcon,
2239
2239
  debugLog,
2240
2240
  debugError,