@gardenfi/garden-book 0.1.100-beta.7 → 0.1.100-beta.8

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/ui.es.js CHANGED
@@ -16470,6 +16470,32 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
16470
16470
  ...i,
16471
16471
  children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", children: e })
16472
16472
  }
16473
+ ), TokenNetworkLogos = ({
16474
+ tokenLogo: e,
16475
+ chainLogo: t,
16476
+ ...i
16477
+ }) => /* @__PURE__ */ jsxs(
16478
+ "div",
16479
+ {
16480
+ className: `gf-relative gf-flex gf-h-5 gf-items-center gf-justify-between ${t && t !== e ? "gf-w-[36px]" : "gf-w-5"}`,
16481
+ ...i,
16482
+ children: [
16483
+ /* @__PURE__ */ jsx(
16484
+ "img",
16485
+ {
16486
+ src: e,
16487
+ className: "gf-absolute gf-left-0 gf-z-30 gf-h-5 gf-w-5 gf-rounded-full"
16488
+ }
16489
+ ),
16490
+ t && t !== e && /* @__PURE__ */ jsx(
16491
+ "img",
16492
+ {
16493
+ src: t,
16494
+ className: "gf-absolute gf-right-0 gf-z-20 gf-h-5 gf-w-5 gf-rounded-full"
16495
+ }
16496
+ )
16497
+ ]
16498
+ }
16473
16499
  ), TokenInfo = ({
16474
16500
  symbol: e,
16475
16501
  tokenLogo: t,
@@ -16489,58 +16515,21 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
16489
16515
  /* @__PURE__ */ jsxs(
16490
16516
  "div",
16491
16517
  {
16492
- className: `gf-flex gf-items-center ${i ? "" : "gf-gap-1"}`,
16518
+ className: "gf-flex gf-items-center gf-gap-1",
16493
16519
  children: [
16494
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-items-center", children: [
16495
- typeof t == "string" ? /* @__PURE__ */ jsx(
16496
- "img",
16497
- {
16498
- src: t,
16499
- alt: "token logo",
16500
- className: "gf-w-5 gf-h-5 gf-z-20 gf-rounded-full"
16501
- }
16502
- ) : t,
16503
- i && (typeof i == "string" ? /* @__PURE__ */ jsx(
16504
- "img",
16505
- {
16506
- src: i,
16507
- alt: "chain logo",
16508
- className: "gf-w-5 gf-h-5 -gf-translate-x-1 gf-z-10 gf-rounded-full"
16509
- }
16510
- ) : i)
16511
- ] }),
16520
+ /* @__PURE__ */ jsx(
16521
+ TokenNetworkLogos,
16522
+ {
16523
+ tokenLogo: t || "",
16524
+ chainLogo: i || ""
16525
+ }
16526
+ ),
16512
16527
  /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(KeyboardDownIcon, {}) })
16513
16528
  ]
16514
16529
  }
16515
16530
  )
16516
16531
  ] })
16517
16532
  }
16518
- ), TokenNetworkLogos = ({
16519
- tokenLogo: e,
16520
- chainLogo: t,
16521
- ...i
16522
- }) => /* @__PURE__ */ jsxs(
16523
- "div",
16524
- {
16525
- className: `gf-relative gf-flex gf-h-5 gf-items-center gf-justify-between ${t ? "gf-w-[36px]" : "gf-w-5"}`,
16526
- ...i,
16527
- children: [
16528
- /* @__PURE__ */ jsx(
16529
- "img",
16530
- {
16531
- src: e,
16532
- className: "gf-absolute gf-left-0 gf-z-30 gf-h-5 gf-w-5 gf-rounded-full"
16533
- }
16534
- ),
16535
- t && t !== e && /* @__PURE__ */ jsx(
16536
- "img",
16537
- {
16538
- src: t,
16539
- className: "gf-absolute gf-right-0 gf-z-20 gf-h-5 gf-w-5 gf-rounded-full"
16540
- }
16541
- )
16542
- ]
16543
- }
16544
16533
  ), GradientScroll = ({
16545
16534
  children: e,
16546
16535
  className: t,