@gardenfi/garden-book 0.1.100-beta.6 → 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
@@ -10859,8 +10859,8 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
10859
10859
  size: {
10860
10860
  h1: "gf-text-[32px] gf-leading-10",
10861
10861
  h2: "gf-text-xl gf-leading-5",
10862
- h3: "gf-text-base gf-leading-4",
10863
- h4: "gf-text-sm gf-leading-4",
10862
+ h3: "gf-text-base gf-leading-5",
10863
+ h4: "gf-text-sm gf-leading-5",
10864
10864
  h5: "gf-text-xs gf-leading-4",
10865
10865
  h6: "gf-text-[10px] gf-leading-3"
10866
10866
  },
@@ -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,69 +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
- ), AssetChainLogos = ({
16519
- tokenLogo: e,
16520
- chainLogo: t,
16521
- iconStyles: i,
16522
- className: n,
16523
- ...s
16524
- }) => /* @__PURE__ */ jsxs(
16525
- "div",
16526
- {
16527
- className: cn(
16528
- `gf-relative gf-flex gf-items-center gf-justify-between gf-h-5 ${t ? "gf-w-[36px]" : "gf-w-5"}`,
16529
- n
16530
- ),
16531
- ...s,
16532
- children: [
16533
- /* @__PURE__ */ jsx(
16534
- "img",
16535
- {
16536
- src: e,
16537
- className: cn(
16538
- "gf-absolute gf-left-0 gf-w-5 gf-h-5 gf-z-30 gf-rounded-full",
16539
- i
16540
- )
16541
- }
16542
- ),
16543
- t ? /* @__PURE__ */ jsx(
16544
- "img",
16545
- {
16546
- src: t,
16547
- className: cn(
16548
- "gf-absolute gf-right-0 gf-w-5 gf-h-5 gf-z-20 gf-rounded-full",
16549
- i
16550
- )
16551
- }
16552
- ) : null
16553
- ]
16554
- }
16555
16533
  ), GradientScroll = ({
16556
16534
  children: e,
16557
16535
  className: t,
@@ -22259,7 +22237,6 @@ export {
22259
22237
  ArrowSouthWestIcon,
22260
22238
  ArrowSyncIcon,
22261
22239
  ArrowUpwardIcon,
22262
- AssetChainLogos,
22263
22240
  BTCLogo,
22264
22241
  BlogCard,
22265
22242
  BlogIcon,
@@ -22353,6 +22330,7 @@ export {
22353
22330
  ThorswapIcon,
22354
22331
  TimerIcon,
22355
22332
  TokenInfo,
22333
+ TokenNetworkLogos,
22356
22334
  TraderJoe,
22357
22335
  TrailOfBits,
22358
22336
  TrustWallet,