@gardenfi/garden-book 0.1.88 → 0.1.90

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
@@ -14534,6 +14534,23 @@ const Drawer = {
14534
14534
  }
14535
14535
  )
14536
14536
  }
14537
+ ), CancelIcon = (e) => /* @__PURE__ */ jsx(
14538
+ "svg",
14539
+ {
14540
+ width: "8",
14541
+ height: "8",
14542
+ viewBox: "0 0 8 8",
14543
+ fill: "none",
14544
+ xmlns: "http://www.w3.org/2000/svg",
14545
+ ...e,
14546
+ children: /* @__PURE__ */ jsx(
14547
+ "path",
14548
+ {
14549
+ d: "M2.56 6L4 4.56L5.44 6L6 5.44L4.56 4L6 2.56L5.44 2L4 3.44L2.56 2L2 2.56L3.44 4L2 5.44L2.56 6ZM4 8C3.44667 8 2.92667 7.895 2.44 7.685C1.95333 7.475 1.53 7.19 1.17 6.83C0.81 6.47 0.525 6.04667 0.315 5.56C0.105 5.07333 0 4.55333 0 4C0 3.44667 0.105 2.92667 0.315 2.44C0.525 1.95333 0.81 1.53 1.17 1.17C1.53 0.81 1.95333 0.525 2.44 0.315C2.92667 0.105 3.44667 0 4 0C4.55333 0 5.07333 0.105 5.56 0.315C6.04667 0.525 6.47 0.81 6.83 1.17C7.19 1.53 7.475 1.95333 7.685 2.44C7.895 2.92667 8 3.44667 8 4C8 4.55333 7.895 5.07333 7.685 5.56C7.475 6.04667 7.19 6.47 6.83 6.83C6.47 7.19 6.04667 7.475 5.56 7.685C5.07333 7.895 4.55333 8 4 8Z",
14550
+ fill: "#FF005C"
14551
+ }
14552
+ )
14553
+ }
14537
14554
  ), ArbitrumLogo = (e) => /* @__PURE__ */ jsxs(
14538
14555
  "svg",
14539
14556
  {
@@ -16236,149 +16253,152 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
16236
16253
  ]
16237
16254
  }
16238
16255
  );
16239
- }, appLink = "https://app.garden.finance", websiteLink = "https://garden.finance", footerDetails = [
16240
- {
16241
- title: "Application",
16242
- targetSame: !0,
16243
- links: [
16244
- {
16245
- title: "Swap",
16246
- link: appLink + "/swap",
16247
- isExternal: !0,
16248
- withReferrer: !0
16249
- },
16250
- {
16251
- title: "Stake",
16252
- link: "https://app.garden.finance/stake",
16253
- isExternal: !0,
16254
- withReferrer: !0
16255
- }
16256
- // {
16257
- // title: "Quests",
16258
- // link: appLink + "/quests",
16259
- // isExternal: true,
16260
- // },
16261
- ]
16262
- },
16263
- {
16264
- title: "Resources",
16265
- links: [
16266
- {
16267
- title: "Blog",
16268
- link: websiteLink + "/blog",
16269
- isExternal: !1
16270
- },
16271
- {
16272
- title: "Docs",
16273
- link: "https://docs.garden.finance",
16274
- isExternal: !0
16275
- },
16276
- {
16277
- title: "Audits",
16278
- link: "https://github.com/catalogfi/audits",
16279
- isExternal: !0
16280
- },
16281
- {
16282
- title: "Media Kit",
16283
- link: "https://docs.garden.finance/home/garden-brand-guide",
16284
- isExternal: !0
16285
- }
16286
- ]
16287
- },
16288
- {
16289
- title: "Ecosystem",
16290
- links: [
16291
- {
16292
- title: "Analytics",
16293
- link: "https://dune.com/garden_finance/gardenfinance",
16294
- isExternal: !0
16295
- },
16296
- {
16297
- title: "Explorer",
16298
- link: "https://explorer.garden.finance",
16299
- isExternal: !0
16300
- }
16301
- ]
16302
- },
16303
- {
16304
- title: "Community",
16305
- links: [
16306
- {
16307
- title: "Discord",
16308
- link: " https://discord.gg/dZwSjh9922",
16309
- isExternal: !0
16310
- },
16311
- // {
16312
- // title: "Telegram",
16313
- // link: "https://t.me/GardenTownhall",
16314
- // isExternal: true,
16315
- // },
16316
- {
16317
- title: "X",
16318
- link: "https://twitter.com/intent/follow?screen_name=garden_finance",
16319
- isExternal: !0
16320
- }
16321
- ]
16322
- }
16323
- ], Footer = ({ className: e, ...t }) => /* @__PURE__ */ jsxs(
16324
- "footer",
16325
- {
16326
- className: cn(
16327
- "gf-w-full gf-p-8 md:gf-px-28 md:gf-pt-8 md:gf-pb-16",
16328
- e
16329
- ),
16330
- ...t,
16331
- children: [
16332
- /* @__PURE__ */ jsxs("div", { className: "md:gf-flex md:gf-justify-between md:gf-items-start", children: [
16333
- /* @__PURE__ */ jsx("div", { className: "gf-flex gf-items-center gf-mb-6", children: /* @__PURE__ */ jsx(GardenFullLogo, {}) }),
16334
- /* @__PURE__ */ jsx("div", { className: "gf-grid gf-grid-cols-2 gf-gap-x-14 gf-gap-y-6 md:gf-flex gf-w-full md:gf-justify-end md:gf-gap-x-14", children: footerDetails.map((i) => /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col", children: [
16335
- /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", className: "gf-mb-3", children: i.title }),
16336
- i.links.map((n) => /* @__PURE__ */ jsx(
16337
- "a",
16338
- {
16339
- href: n.link,
16340
- target: i.targetSame ? "_self" : "_blank",
16341
- rel: n.withReferrer ? void 0 : "noreferrer",
16342
- children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: n.title })
16343
- },
16344
- n.title
16345
- ))
16346
- ] }, i.title)) })
16347
- ] }),
16348
- /* @__PURE__ */ jsx("hr", { className: "gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey" }),
16349
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center", children: [
16350
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-10", children: [
16351
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
16352
- /* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
16353
- "Powered by",
16354
- " "
16256
+ }, Footer = ({ className: e, network: t, ...i }) => {
16257
+ const n = t && t === "testnet" ? "https://testnet.garden.finance" : "https://app.garden.finance", a = [
16258
+ {
16259
+ title: "Application",
16260
+ targetSame: !0,
16261
+ links: [
16262
+ {
16263
+ title: "Swap",
16264
+ link: n + "/swap",
16265
+ isExternal: !0,
16266
+ withReferrer: !0
16267
+ },
16268
+ {
16269
+ title: "Stake",
16270
+ link: n + "/stake",
16271
+ isExternal: !0,
16272
+ withReferrer: !0
16273
+ }
16274
+ // {
16275
+ // title: "Quests",
16276
+ // link: appLink + "/quests",
16277
+ // isExternal: true,
16278
+ // },
16279
+ ]
16280
+ },
16281
+ {
16282
+ title: "Resources",
16283
+ links: [
16284
+ {
16285
+ title: "Blog",
16286
+ link: "https://garden.finance" + "/blog",
16287
+ isExternal: !1
16288
+ },
16289
+ {
16290
+ title: "Docs",
16291
+ link: "https://docs.garden.finance",
16292
+ isExternal: !0
16293
+ },
16294
+ {
16295
+ title: "Audits",
16296
+ link: "https://github.com/catalogfi/audits",
16297
+ isExternal: !0
16298
+ },
16299
+ {
16300
+ title: "Media Kit",
16301
+ link: "https://docs.garden.finance/home/garden-brand-guide",
16302
+ isExternal: !0
16303
+ }
16304
+ ]
16305
+ },
16306
+ {
16307
+ title: "Ecosystem",
16308
+ links: [
16309
+ {
16310
+ title: "Analytics",
16311
+ link: "https://dune.com/garden_finance/gardenfinance",
16312
+ isExternal: !0
16313
+ },
16314
+ {
16315
+ title: "Explorer",
16316
+ link: t && t === "testnet" ? "https://testnet-explorer.garden.finance" : "https://explorer.garden.finance",
16317
+ isExternal: !0
16318
+ }
16319
+ ]
16320
+ },
16321
+ {
16322
+ title: "Community",
16323
+ links: [
16324
+ {
16325
+ title: "Discord",
16326
+ link: " https://discord.gg/dZwSjh9922",
16327
+ isExternal: !0
16328
+ },
16329
+ // {
16330
+ // title: "Telegram",
16331
+ // link: "https://t.me/GardenTownhall",
16332
+ // isExternal: true,
16333
+ // },
16334
+ {
16335
+ title: "X",
16336
+ link: "https://twitter.com/intent/follow?screen_name=garden_finance",
16337
+ isExternal: !0
16338
+ }
16339
+ ]
16340
+ }
16341
+ ];
16342
+ return /* @__PURE__ */ jsxs(
16343
+ "footer",
16344
+ {
16345
+ className: cn(
16346
+ "gf-w-full gf-p-8 md:gf-px-28 md:gf-pt-8 md:gf-pb-16",
16347
+ e
16348
+ ),
16349
+ ...i,
16350
+ children: [
16351
+ /* @__PURE__ */ jsxs("div", { className: "md:gf-flex md:gf-justify-between md:gf-items-start", children: [
16352
+ /* @__PURE__ */ jsx("div", { className: "gf-flex gf-items-center gf-mb-6", children: /* @__PURE__ */ jsx(GardenFullLogo, {}) }),
16353
+ /* @__PURE__ */ jsx("div", { className: "gf-grid gf-grid-cols-2 gf-gap-x-14 gf-gap-y-6 md:gf-flex gf-w-full md:gf-justify-end md:gf-gap-x-14", children: a.map((o) => /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col", children: [
16354
+ /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", className: "gf-mb-3", children: o.title }),
16355
+ o.links.map((l) => /* @__PURE__ */ jsx(
16356
+ "a",
16357
+ {
16358
+ href: l.link,
16359
+ target: o.targetSame ? "_self" : "_blank",
16360
+ rel: l.withReferrer ? void 0 : "noreferrer",
16361
+ children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: l.title })
16362
+ },
16363
+ l.title
16364
+ ))
16365
+ ] }, o.title)) })
16366
+ ] }),
16367
+ /* @__PURE__ */ jsx("hr", { className: "gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey" }),
16368
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center", children: [
16369
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-10", children: [
16370
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
16371
+ /* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
16372
+ "Powered by",
16373
+ " "
16374
+ ] }),
16375
+ /* @__PURE__ */ jsx("a", { href: "https://catalog.fi", target: "_blank", children: /* @__PURE__ */ jsx(CatalogLogo, { width: 76 }) })
16355
16376
  ] }),
16356
- /* @__PURE__ */ jsx("a", { href: "https://catalog.fi", target: "_blank", children: /* @__PURE__ */ jsx(CatalogLogo, { width: 76 }) })
16377
+ /* @__PURE__ */ jsxs(
16378
+ "a",
16379
+ {
16380
+ href: "https://github.com/catalogfi/audits/blob/main/TrailOfBits.pdf",
16381
+ target: "_blank",
16382
+ className: "gf-flex gf-gap-x-2 gf-items-center",
16383
+ children: [
16384
+ /* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
16385
+ "Audited by",
16386
+ " "
16387
+ ] }),
16388
+ /* @__PURE__ */ jsx(TrailOfBits, { width: 36 })
16389
+ ]
16390
+ }
16391
+ )
16357
16392
  ] }),
16358
- /* @__PURE__ */ jsxs(
16359
- "a",
16360
- {
16361
- href: "https://github.com/catalogfi/audits/blob/main/TrailOfBits.pdf",
16362
- target: "_blank",
16363
- className: "gf-flex gf-gap-x-2 gf-items-center",
16364
- children: [
16365
- /* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
16366
- "Audited by",
16367
- " "
16368
- ] }),
16369
- /* @__PURE__ */ jsx(TrailOfBits, { width: 36 })
16370
- ]
16371
- }
16372
- )
16373
- ] }),
16374
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
16375
- /* @__PURE__ */ jsx("a", { href: "https://garden.finance/GardenFinancePrivacyPolicy.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Privacy Policy" }) }),
16376
- /* @__PURE__ */ jsx("a", { href: "https://garden.finance/terms.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Terms of Service" }) })
16393
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
16394
+ /* @__PURE__ */ jsx("a", { href: "https://garden.finance/GardenFinancePrivacyPolicy.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Privacy Policy" }) }),
16395
+ /* @__PURE__ */ jsx("a", { href: "https://garden.finance/terms.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Terms of Service" }) })
16396
+ ] })
16377
16397
  ] })
16378
- ] })
16379
- ]
16380
- }
16381
- );
16398
+ ]
16399
+ }
16400
+ );
16401
+ };
16382
16402
  var build = { exports: {} };
16383
16403
  (() => {
16384
16404
  var e = { 181: (s, a, o) => {
@@ -21872,6 +21892,7 @@ export {
21872
21892
  BottomSheet,
21873
21893
  Button,
21874
21894
  Camelot,
21895
+ CancelIcon,
21875
21896
  CatalogLogo,
21876
21897
  ChainflipIcon,
21877
21898
  CheckBox$1 as CheckBox,