@rash2x/bridge-widget 0.1.28 → 0.1.30

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.
@@ -1306,7 +1306,7 @@ const TokenRow = ({
1306
1306
  }
1307
1307
  ),
1308
1308
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start gap-1", children: [
1309
- /* @__PURE__ */ jsx("p", { className: "font-extrabold text-foreground text-lg leading-4 truncate flex items-center gap-1", children: symbol }),
1309
+ /* @__PURE__ */ jsx("p", { className: "font-semibold text-foreground text-lg leading-4 truncate flex items-center gap-1", children: symbol }),
1310
1310
  /* @__PURE__ */ jsx("div", { className: "text-xs leading-3 font-semibold text-muted-foreground truncate", children: name })
1311
1311
  ] })
1312
1312
  ] }),
@@ -1314,7 +1314,7 @@ const TokenRow = ({
1314
1314
  /* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-16 rounded-md" }),
1315
1315
  /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-12 rounded-md" })
1316
1316
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
1317
- /* @__PURE__ */ jsx("div", { className: "font-extrabold text-foreground text-lg leading-4 truncate", children: hasAnyWallet ? formatBalance(balance) : "—" }),
1317
+ /* @__PURE__ */ jsx("div", { className: "font-semibold text-foreground text-lg leading-4 truncate", children: hasAnyWallet ? formatBalance(balance) : "—" }),
1318
1318
  /* @__PURE__ */ jsx("div", { className: "text-xs leading-3 text-muted-foreground", children: hasAnyWallet && balance > 0 && usdValue > 0 ? formatUsd(usdValue) : "—" })
1319
1319
  ] }) })
1320
1320
  ]
@@ -1660,7 +1660,7 @@ const SelectTokenButton = ({
1660
1660
  ),
1661
1661
  /* @__PURE__ */ jsx("span", { children: label })
1662
1662
  ] }),
1663
- /* @__PURE__ */ jsx(ArrowDownIcon, { className: "w-4 h-4 text-secondary-foreground" })
1663
+ /* @__PURE__ */ jsx(ArrowDownIcon, { className: "w-4 h-4" })
1664
1664
  ]
1665
1665
  }
1666
1666
  );
@@ -2270,7 +2270,7 @@ const SwapButton = () => {
2270
2270
  variant: "secondary",
2271
2271
  size: "sm",
2272
2272
  className: cn(
2273
- "bg-card text-card-foreground h-9",
2273
+ "bg-card text-card-foreground backdrop-blur-md h-9",
2274
2274
  "absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2",
2275
2275
  !canSwap || isSwapping ? "opacity-50 cursor-not-allowed" : "hover:scale-110"
2276
2276
  ),
@@ -2340,7 +2340,7 @@ const SelectNetworkButton = ({
2340
2340
  ),
2341
2341
  /* @__PURE__ */ jsx("span", { children: label })
2342
2342
  ] }),
2343
- /* @__PURE__ */ jsx(ArrowDownIcon, { className: "w-4 h-4 text-secondary-foreground" })
2343
+ /* @__PURE__ */ jsx(ArrowDownIcon, { className: "w-4 h-4" })
2344
2344
  ]
2345
2345
  }
2346
2346
  );
@@ -2478,7 +2478,7 @@ const ChainSelectModal = ({
2478
2478
  Button,
2479
2479
  {
2480
2480
  onClick: () => onChainPick(chain, willChangeSrc),
2481
- className: `w-full cursor-pointer flex shadow-none rounded-sm items-center justify-between gap-3 px-5 py-4 h-13 font-extrabold capitalize hover:bg-muted bg-transparent transition-[300] ${isSelected ? "border border-ring" : ""}`,
2481
+ className: `w-full cursor-pointer flex shadow-none rounded-sm items-center justify-between gap-3 px-5 py-4 h-13 font-semibold capitalize hover:bg-muted bg-transparent transition-[300] ${isSelected ? "border border-ring" : ""}`,
2482
2482
  children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
2483
2483
  /* @__PURE__ */ jsx(
2484
2484
  NetworkSymbol,
@@ -2488,7 +2488,7 @@ const ChainSelectModal = ({
2488
2488
  alt: chain.name
2489
2489
  }
2490
2490
  ),
2491
- /* @__PURE__ */ jsx("div", { className: "flex flex-col items-start", children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 ", children: /* @__PURE__ */ jsx("p", { className: "text-foreground text-base font-extrabold leading-[100%]", children: chain.name }) }) })
2491
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col items-start", children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 ", children: /* @__PURE__ */ jsx("p", { className: "text-foreground text-base font-semibold leading-[100%]", children: chain.name }) }) })
2492
2492
  ] })
2493
2493
  },
2494
2494
  chain.chainKey
@@ -2579,14 +2579,14 @@ const WalletButton = ({
2579
2579
  e.preventDefault();
2580
2580
  },
2581
2581
  disabled: isButtonDisabled,
2582
- className: "p-0 !px-0 py-0 flex gap-1 cursor-pointer shadow-none hover:bg-transparent bg-transparent rounded-none h-5",
2582
+ className: "p-0 flex gap-1 cursor-pointer shadow-none hover:bg-transparent bg-transparent text-foreground rounded-none h-5",
2583
2583
  children: [
2584
2584
  isConnected ? prefixIcons[wallet] : null,
2585
- /* @__PURE__ */ jsx("p", { className: "leading-4 text-sm font-medium text-link border-b-2 border-dotted border-link", children: buttonText })
2585
+ /* @__PURE__ */ jsx("p", { className: "leading-4 text-sm border-b-1 border-dotted border-foreground", children: buttonText })
2586
2586
  ]
2587
2587
  }
2588
2588
  ),
2589
- error && /* @__PURE__ */ jsx("div", { className: "text-xs text-red-500", children: error })
2589
+ error && /* @__PURE__ */ jsx("div", { className: "text-xs text-destructive", children: error })
2590
2590
  ] });
2591
2591
  };
2592
2592
  function resolveTokenOnChainFromMatrix(assetMatrix, assetSymbol, chainKey) {
@@ -2810,7 +2810,16 @@ const AnotherAddress = () => {
2810
2810
  defaultValue: "Check correctness before transfer"
2811
2811
  }) }) })
2812
2812
  ] }),
2813
- !value ? /* @__PURE__ */ jsx(Button, { variant: "secondary", size: "sm", onClick: onPaste, children: t2("common.paste") }) : /* @__PURE__ */ jsx(
2813
+ !value ? /* @__PURE__ */ jsx(
2814
+ Button,
2815
+ {
2816
+ variant: "secondary",
2817
+ className: "bg-card text-card-foreground",
2818
+ size: "sm",
2819
+ onClick: onPaste,
2820
+ children: t2("common.paste")
2821
+ }
2822
+ ) : /* @__PURE__ */ jsx(
2814
2823
  Button,
2815
2824
  {
2816
2825
  variant: "ghost",
@@ -2991,7 +3000,7 @@ const Details = () => {
2991
3000
  DetailsRow,
2992
3001
  {
2993
3002
  label: t2("transaction.route"),
2994
- value: /* @__PURE__ */ jsxs("strong", { className: "flex items-center gap-2", children: [
3003
+ value: /* @__PURE__ */ jsxs("strong", { className: "flex items-center font-semibold gap-2", children: [
2995
3004
  /* @__PURE__ */ jsx(StargateIcon, { className: "w-4 h-4" }),
2996
3005
  /* @__PURE__ */ jsx("p", { className: "", children: routeText })
2997
3006
  ] })
@@ -3798,7 +3807,7 @@ const WalletSelectModal = () => {
3798
3807
  return /* @__PURE__ */ jsx("div", { className: "-mx-3", children: /* @__PURE__ */ jsxs(Button, { className: "w-full cursor-pointer bg-transparent flex shadow-none items-center justify-start gap-3 px-3 py-3 hover:bg-muted h-auto rounded-md transition-[300]", children: [
3799
3808
  /* @__PURE__ */ jsx(IconComponent, { className: "min-w-8 min-h-8" }),
3800
3809
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
3801
- /* @__PURE__ */ jsx("p", { className: "font-extrabold text-foreground text-sm leading-4 truncate", children: short(wallet.address) }),
3810
+ /* @__PURE__ */ jsx("p", { className: "font-semibold text-foreground text-sm leading-4 truncate", children: short(wallet.address) }),
3802
3811
  /* @__PURE__ */ jsx("div", { className: "text-xs leading-3 font-semibold text-muted-foreground", children: wallet.name })
3803
3812
  ] }),
3804
3813
  /* @__PURE__ */ jsx(
@@ -3838,7 +3847,7 @@ const WalletSelectModal = () => {
3838
3847
  children: [
3839
3848
  /* @__PURE__ */ jsx(IconComponent, { className: "min-w-8 min-h-8" }),
3840
3849
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start min-w-0", children: [
3841
- /* @__PURE__ */ jsx("p", { className: "font-extrabold text-foreground text-sm leading-4 truncate", children: wallet.name }),
3850
+ /* @__PURE__ */ jsx("p", { className: "font-semibold text-foreground text-sm leading-4 truncate", children: wallet.name }),
3842
3851
  wallet.comingSoon ? /* @__PURE__ */ jsx("div", { className: "text-xs leading-3 font-semibold text-muted-foreground", children: t2("wallets.comingSoon") }) : /* @__PURE__ */ jsx("div", { className: "text-xs leading-3 font-semibold text-muted-foreground", children: t2("wallets.connect") })
3843
3852
  ] })
3844
3853
  ]